diff options
author | Karel Zak <kzak@redhat.com> | 2014-10-14 12:14:05 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2014-10-24 11:10:06 +0200 |
commit | fda297dd226610a60b85a40392b78dedcf255341 (patch) | |
tree | 214172527f81dfcbbb4cb4d8fa721935599ae1f0 | |
parent | 1e3f80099317bb18df3c474090b58a75813a29eb (diff) | |
download | util-linux-fda297dd226610a60b85a40392b78dedcf255341.tar.gz |
blkdiscard: fix err->errx()
Signed-off-by: Karel Zak <kzak@redhat.com>
-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]; |