diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-29 22:51:44 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-29 22:51:44 +0000 |
commit | 06c0a71d2315756db874e98bc4f760ca3283b6a6 (patch) | |
tree | df385c84041f3fd8328e7a50caef4495ef2734a8 /loginutils/su.c | |
parent | b6aae0f38194cd39960a898606ee65d4be93a895 (diff) | |
download | busybox-w32-06c0a71d2315756db874e98bc4f760ca3283b6a6.tar.gz busybox-w32-06c0a71d2315756db874e98bc4f760ca3283b6a6.tar.bz2 busybox-w32-06c0a71d2315756db874e98bc4f760ca3283b6a6.zip |
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 @@ | |||
14 | int su_main(int argc, char **argv) | 14 | int su_main(int argc, char **argv) |
15 | { | 15 | { |
16 | unsigned flags; | 16 | unsigned flags; |
17 | char *opt_shell = 0; | 17 | char *opt_shell = NULL; |
18 | char *opt_command = 0; | 18 | char *opt_command = NULL; |
19 | char *opt_username = "root"; | 19 | const char *opt_username = "root"; |
20 | struct passwd *pw; | 20 | struct passwd *pw; |
21 | uid_t cur_uid = getuid(); | 21 | uid_t cur_uid = getuid(); |
22 | const char *tty; | 22 | const char *tty; |