summaryrefslogtreecommitdiffstats
path: root/sys-utils/swapoff.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys-utils/swapoff.c')
-rw-r--r--sys-utils/swapoff.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys-utils/swapoff.c b/sys-utils/swapoff.c
index dd3bf05fc..e20c502bd 100644
--- a/sys-utils/swapoff.c
+++ b/sys-utils/swapoff.c
@@ -221,9 +221,8 @@ int main(int argc, char *argv[])
case 'U':
add_uuid(optarg);
break;
- case '?':
default:
- usage(stderr);
+ errtryhelp(EXIT_FAILURE);
}
}
argv += optind;