diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-30 01:51:44 +0300 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-30 01:51:44 +0300 |
commit | 06c0a71d2315756db874e98bc4f760ca3283b6a6 (patch) | |
tree | df385c84041f3fd8328e7a50caef4495ef2734a8 /loginutils/su.c | |
parent | b6aae0f38194cd39960a898606ee65d4be93a895 (diff) |
preparatory patch for -Wwrite-strings #3
Diffstat (limited to 'loginutils/su.c')
-rw-r--r-- | loginutils/su.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/loginutils/su.c b/loginutils/su.c index e1c1591aa..9a134dd88 100644 --- a/loginutils/su.c +++ b/loginutils/su.c @@ -14,9 +14,9 @@ int su_main(int argc, char **argv) { unsigned flags; - char *opt_shell = 0; - char *opt_command = 0; - char *opt_username = "root"; + char *opt_shell = NULL; + char *opt_command = NULL; + const char *opt_username = "root"; struct passwd *pw; uid_t cur_uid = getuid(); const char *tty; |