commit | a41fdf331af344ecd3ec230a072857ea197e1890 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Mon Jan 29 22:51:00 2007 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Mon Jan 29 22:51:00 2007 +0000 |
tree | 70ffff0b7f48b35a70b8b04253abe9118ded6026 | |
parent | e935602ff5d5a45be56585b8bad44194c3e837a3 [diff] [blame] |
preparatory patch for -Wwrite-strings #1
diff --git a/coreutils/cat.c b/coreutils/cat.c index 2b7c603..7a34891 100644 --- a/coreutils/cat.c +++ b/coreutils/cat.c
@@ -14,7 +14,7 @@ int bb_cat(char **argv) { - static char *const argv_dash[] = { "-", NULL }; + static const char *const argv_dash[] = { "-", NULL }; FILE *f; int retval = EXIT_SUCCESS;