summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext4_utils/wipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext4_utils/wipe.c b/ext4_utils/wipe.c
index c7329cf3..3bd33e5b 100644
--- a/ext4_utils/wipe.c
+++ b/ext4_utils/wipe.c
@@ -43,7 +43,7 @@ int wipe_block_device(int fd, s64 len)
range[1] = len;
ret = ioctl(fd, BLKDISCARD, &range);
if (ret < 0) {
- error("Discard failed\n");
+ warn("Discard failed\n");
return 1;
} else {
warn("Wipe via secure discard failed, used discard instead\n");