aboutsummaryrefslogtreecommitdiff
path: root/selinux/runcon.c
diff options
context:
space:
mode:
Diffstat (limited to 'selinux/runcon.c')
-rw-r--r--selinux/runcon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/selinux/runcon.c b/selinux/runcon.c
index 5f9e3fd12..6c3f518fc 100644
--- a/selinux/runcon.c
+++ b/selinux/runcon.c
@@ -69,7 +69,7 @@ static context_t runcon_compute_new_context(char *user, char *role, char *type,
69} 69}
70 70
71#if ENABLE_FEATURE_RUNCON_LONG_OPTIONS 71#if ENABLE_FEATURE_RUNCON_LONG_OPTIONS
72static const char runcon_options[] = 72static const char runcon_longopts[] ALIGN1 =
73 "user\0" Required_argument "u" 73 "user\0" Required_argument "u"
74 "role\0" Required_argument "r" 74 "role\0" Required_argument "r"
75 "type\0" Required_argument "t" 75 "type\0" Required_argument "t"
@@ -101,7 +101,7 @@ int runcon_main(int argc, char **argv)
101 selinux_or_die(); 101 selinux_or_die();
102 102
103#if ENABLE_FEATURE_RUNCON_LONG_OPTIONS 103#if ENABLE_FEATURE_RUNCON_LONG_OPTIONS
104 applet_long_options = runcon_options; 104 applet_long_options = runcon_longopts;
105#endif 105#endif
106 opt_complementary = "-1"; 106 opt_complementary = "-1";
107 opts = getopt32(argc, argv, "r:t:u:l:ch", &role, &type, &user, &range); 107 opts = getopt32(argc, argv, "r:t:u:l:ch", &role, &type, &user, &range);