summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys-utils/blkdiscard.c2
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];