diff options
Diffstat (limited to 'toys/lsb/gzip.c')
-rw-r--r-- | toys/lsb/gzip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/lsb/gzip.c b/toys/lsb/gzip.c index b80e24fe..e884dbaf 100644 --- a/toys/lsb/gzip.c +++ b/toys/lsb/gzip.c @@ -129,7 +129,7 @@ static void do_gzip(int ifd, char *in) // Are we reading file.gz to write to file? if (!ofd) { - if (fstat(ifd, &sb)) return perror_msg("%s", in); + if (fstat(ifd, &sb)) return perror_msg_raw(in); // Add or remove .gz suffix as necessary if (!FLAG(d)) out = xmprintf("%s%s", in, ".gz"); |