diff options
author | Sami Kerola | 2016-03-13 11:31:43 +0100 |
---|---|---|
committer | Karel Zak | 2016-03-14 13:15:12 +0100 |
commit | 5a2ed453099e3c690e781c54ceebdf00947a4389 (patch) | |
tree | 3f685356176cd7712b0be9a6f07e23ec2a3b939a /disk-utils/isosize.c | |
parent | logger: fix memory leak [ASAN and valgrind] (diff) | |
download | kernel-qcow2-util-linux-5a2ed453099e3c690e781c54ceebdf00947a4389.tar.gz kernel-qcow2-util-linux-5a2ed453099e3c690e781c54ceebdf00947a4389.tar.xz kernel-qcow2-util-linux-5a2ed453099e3c690e781c54ceebdf00947a4389.zip |
isosize: stop unmeaningful printing errno message
Earlier printout had strange looking 'Success'.
$ isosize --sectors /dev/urandom
isosize: /dev/urandom: might not be an ISO filesystem
isosize: 733error: le=-1971599244 be=1633181607: Success
...
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'disk-utils/isosize.c')
-rw-r--r-- | disk-utils/isosize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/disk-utils/isosize.c b/disk-utils/isosize.c index 43569ae71..0f676ca88 100644 --- a/disk-utils/isosize.c +++ b/disk-utils/isosize.c @@ -84,7 +84,7 @@ static int isonum_733(unsigned char *p, int xflag) int be = isonum_732(p + 4); if (xflag && le != be) /* translation is useless */ - warn("733error: le=%d be=%d", le, be); + warnx("733error: le=%d be=%d", le, be); return (le); } |