diff options
author | Denis Vlasenko | 2007-01-29 22:51:44 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-01-29 22:51:44 +0000 |
commit | 06c0a71d2315756db874e98bc4f760ca3283b6a6 (patch) | |
tree | df385c84041f3fd8328e7a50caef4495ef2734a8 /loginutils/su.c | |
parent | b6aae0f38194cd39960a898606ee65d4be93a895 (diff) | |
download | busybox-06c0a71d2315756db874e98bc4f760ca3283b6a6.zip busybox-06c0a71d2315756db874e98bc4f760ca3283b6a6.tar.gz |
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 e1c1591..9a134dd 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; |