aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/grep.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix/grep.c')
-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 d44a92d6..1cb4f9cf 100644
--- a/toys/posix/grep.c
+++ b/toys/posix/grep.c
@@ -72,7 +72,7 @@ static void do_grep(int fd, char *name)
if (!fd) name = "(standard input)";
if (!file) {
- perror_msg("%s", name);
+ perror_msg_raw(name);
return;
}