aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/cksum.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix/cksum.c')
-rw-r--r--toys/posix/cksum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/cksum.c b/toys/posix/cksum.c
index 60edc091..bcb2843d 100644
--- a/toys/posix/cksum.c
+++ b/toys/posix/cksum.c
@@ -52,7 +52,7 @@ static void do_cksum(int fd, char *name)
int len, i;
len = read(fd, toybuf, sizeof(toybuf));
- if (len<0) perror_msg("%s", name);
+ if (len<0) perror_msg_raw(name);
if (len<1) break;
llen += len;