summaryrefslogtreecommitdiff
path: root/loginutils/deluser.c
diff options
context:
space:
mode:
Diffstat (limited to 'loginutils/deluser.c')
-rw-r--r--loginutils/deluser.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/loginutils/deluser.c b/loginutils/deluser.c
index f5bc3c2..5ee22d4 100644
--- a/loginutils/deluser.c
+++ b/loginutils/deluser.c
@@ -68,9 +68,8 @@ int deluser_main(int argc, char **argv)
#else
int opt_delhome = 0;
if (do_deluser) {
- applet_long_options =
- "remove-home\0" No_argument "\xff";
- opt_delhome = getopt32(argv, "");
+ opt_delhome = getopt32long(argv, "",
+ "remove-home\0" No_argument "\xff");
argv += opt_delhome;
argc -= opt_delhome;
}