aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/expand.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix/expand.c')
-rw-r--r--toys/posix/expand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/expand.c b/toys/posix/expand.c
index 7e668fa7..a25848ad 100644
--- a/toys/posix/expand.c
+++ b/toys/posix/expand.c
@@ -38,7 +38,7 @@ static void do_expand(int fd, char *name)
for (;;) {
len = readall(fd, toybuf, sizeof(toybuf));
if (len<0) {
- perror_msg("%s", name);
+ perror_msg_raw(name);
return;
}
if (!len) break;