diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-29 22:51:25 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-29 22:51:25 +0000 |
commit | b6aae0f38194cd39960a898606ee65d4be93a895 (patch) | |
tree | b73c92aefaf614291a71d05e9d28ca68f4ef021b /shell/hush.c | |
parent | a41fdf331af344ecd3ec230a072857ea197e1890 (diff) | |
download | busybox-w32-b6aae0f38194cd39960a898606ee65d4be93a895.tar.gz busybox-w32-b6aae0f38194cd39960a898606ee65d4be93a895.tar.bz2 busybox-w32-b6aae0f38194cd39960a898606ee65d4be93a895.zip |
preparatory patch for -Wwrite-strings #2
Diffstat (limited to 'shell/hush.c')
-rw-r--r-- | shell/hush.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c index 7e274324e..dca04b5a6 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -308,7 +308,8 @@ static char *indenter(int i) | |||
308 | #endif | 308 | #endif |
309 | #define final_printf debug_printf | 309 | #define final_printf debug_printf |
310 | 310 | ||
311 | static void __syntax(char *file, int line) { | 311 | static void __syntax(const char *file, int line) |
312 | { | ||
312 | bb_error_msg("syntax error %s:%d", file, line); | 313 | bb_error_msg("syntax error %s:%d", file, line); |
313 | } | 314 | } |
314 | // NB: was __FILE__, but that produces full path sometimess, so... | 315 | // NB: was __FILE__, but that produces full path sometimess, so... |