summaryrefslogtreecommitdiffstats
path: root/toolbox/swapoff.c
diff options
context:
space:
mode:
Diffstat (limited to 'toolbox/swapoff.c')
-rw-r--r--toolbox/swapoff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolbox/swapoff.c b/toolbox/swapoff.c
index d8f6a00..477494e 100644
--- a/toolbox/swapoff.c
+++ b/toolbox/swapoff.c
@@ -13,7 +13,7 @@ int swapoff_main(int argc, char **argv)
err = swapoff(argv[1]);
if (err) {
- fprintf(stderr, "swapoff failed for %s\n", argv[1]);
+ fprintf(stderr, "swapoff failed for %s: %s\n", argv[1], strerror(errno));
}
return err;