aboutsummaryrefslogtreecommitdiff
path: root/toys/posix
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix')
-rw-r--r--toys/posix/grep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/grep.c b/toys/posix/grep.c
index 8877f452..d78f7559 100644
--- a/toys/posix/grep.c
+++ b/toys/posix/grep.c
@@ -186,7 +186,7 @@ static void parse_regex(void)
// exit to free. Not supporting nofork for this command any time soon.)
al = TT.f ? TT.f : TT.e;
while (al) {
- if (TT.f) s = ss = xreadfile(al->arg);
+ if (TT.f) s = ss = xreadfile(al->arg, 0, 0);
else s = ss = al->arg;
do {