diff options
Diffstat (limited to 'util-linux/setpriv.c')
-rw-r--r-- | util-linux/setpriv.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/util-linux/setpriv.c b/util-linux/setpriv.c index 0f85428ab..5c532d637 100644 --- a/util-linux/setpriv.c +++ b/util-linux/setpriv.c | |||
@@ -421,9 +421,12 @@ int setpriv_main(int argc UNUSED_PARAM, char **argv) | |||
421 | int opts; | 421 | int opts; |
422 | IF_FEATURE_SETPRIV_CAPABILITIES(char *inh_caps, *ambient_caps;) | 422 | IF_FEATURE_SETPRIV_CAPABILITIES(char *inh_caps, *ambient_caps;) |
423 | 423 | ||
424 | applet_long_options = setpriv_longopts; | 424 | opts = getopt32long(argv, |
425 | opts = getopt32(argv, "+"IF_FEATURE_SETPRIV_DUMP("d") | 425 | "+"IF_FEATURE_SETPRIV_DUMP("d") |
426 | IF_FEATURE_SETPRIV_CAPABILITIES("\xfe:\xfd:", &inh_caps, &ambient_caps)); | 426 | IF_FEATURE_SETPRIV_CAPABILITIES("\xfe:\xfd:"), |
427 | setpriv_longopts | ||
428 | IF_FEATURE_SETPRIV_CAPABILITIES(, &inh_caps, &ambient_caps) | ||
429 | ); | ||
427 | argv += optind; | 430 | argv += optind; |
428 | 431 | ||
429 | #if ENABLE_FEATURE_SETPRIV_DUMP | 432 | #if ENABLE_FEATURE_SETPRIV_DUMP |