diff options
author | Karel Zak | 2014-10-14 12:14:05 +0200 |
---|---|---|
committer | Karel Zak | 2014-10-14 12:14:05 +0200 |
commit | 0c75b6a470e3627b32c2b3dec2ae8eb07fa9160f (patch) | |
tree | 26239266dfcdc5955d235ca6b9d04fda53dbc899 /sys-utils/blkdiscard.c | |
parent | script: may be hangs (diff) | |
download | kernel-qcow2-util-linux-0c75b6a470e3627b32c2b3dec2ae8eb07fa9160f.tar.gz kernel-qcow2-util-linux-0c75b6a470e3627b32c2b3dec2ae8eb07fa9160f.tar.xz kernel-qcow2-util-linux-0c75b6a470e3627b32c2b3dec2ae8eb07fa9160f.zip |
blkdiscard: fix err->errx()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/blkdiscard.c')
-rw-r--r-- | sys-utils/blkdiscard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/blkdiscard.c b/sys-utils/blkdiscard.c index 2f22af724..1eb2b2857 100644 --- a/sys-utils/blkdiscard.c +++ b/sys-utils/blkdiscard.c @@ -150,7 +150,7 @@ int main(int argc, char **argv) /* is the range end behind the end of the device ?*/ if (range[0] > blksize) - err(EXIT_FAILURE, _("%s: offset is greater than device size"), path); + errx(EXIT_FAILURE, _("%s: offset is greater than device size"), path); end = range[0] + range[1]; if (end < range[0] || end > blksize) range[1] = blksize - range[0]; |