diff options
author | kris <kris@FreeBSD.org> | 2000-07-12 00:35:53 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-07-12 00:35:53 +0000 |
commit | ce18c772bbedd168f82fcd2b2d7220fcb7295e29 (patch) | |
tree | bfa5529c5cd8434f1bbd1d462977d865d0cb37b3 /usr.sbin/kgzip | |
parent | 6e81eafe20df0f48da196fbdeee8ba3da0539f6f (diff) | |
download | FreeBSD-src-ce18c772bbedd168f82fcd2b2d7220fcb7295e29.zip FreeBSD-src-ce18c772bbedd168f82fcd2b2d7220fcb7295e29.tar.gz |
Don't call err() without a format string.
Diffstat (limited to 'usr.sbin/kgzip')
-rw-r--r-- | usr.sbin/kgzip/kgzcmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/kgzip/kgzcmp.c b/usr.sbin/kgzip/kgzcmp.c index 489e845..a10c167 100644 --- a/usr.sbin/kgzip/kgzcmp.c +++ b/usr.sbin/kgzip/kgzcmp.c @@ -142,7 +142,7 @@ mk_data(const struct iodesc * idi, const struct iodesc * ido, if (e) errx(1, "%s: Invalid format", idi->fname); if (fstat(ido->fd, &sb)) - err(1, ido->fname); + err(1, "%s", ido->fname); kh->nsize = sb.st_size - KGZOFF; } |