From a41fdf331af344ecd3ec230a072857ea197e1890 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 29 Jan 2007 22:51:00 +0000 Subject: preparatory patch for -Wwrite-strings #1 --- coreutils/cat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils/cat.c') diff --git a/coreutils/cat.c b/coreutils/cat.c index 2b7c6035f..7a34891e8 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; -- cgit v1.2.3