From dc3731783ead154d5a0d8d318566468474b43013 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 27 Dec 2013 18:45:01 -0600 Subject: Pass through all the readfile() arguments from xreadfile(). --- toys/posix/grep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys') 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 { -- cgit v1.2.3