summaryrefslogtreecommitdiffstats
path: root/disk-utils/isosize.c
diff options
context:
space:
mode:
authorSami Kerola2016-03-13 11:31:43 +0100
committerKarel Zak2016-03-14 13:15:12 +0100
commit5a2ed453099e3c690e781c54ceebdf00947a4389 (patch)
tree3f685356176cd7712b0be9a6f07e23ec2a3b939a /disk-utils/isosize.c
parentlogger: fix memory leak [ASAN and valgrind] (diff)
downloadkernel-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.c2
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);
}