aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extlinux/extlinux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/extlinux/extlinux.c b/extlinux/extlinux.c
index be0e296d..176ed2f6 100644
--- a/extlinux/extlinux.c
+++ b/extlinux/extlinux.c
@@ -796,8 +796,7 @@ main(int argc, char *argv[])
fputs("extlinux " VERSION "\n", stderr);
exit(0);
default:
- fprintf(stderr, "%s: Unknown option: %c\n", program, optopt);
- exit(EX_USAGE);
+ usage(EX_USAGE);
}
}