aboutsummaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-01-29 22:51:25 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-01-29 22:51:25 +0000
commit2f2ce3c4222378da84c9f5f555c32409566579d8 (patch)
treeb73c92aefaf614291a71d05e9d28ca68f4ef021b /shell/hush.c
parent32d944197db7cd9a6d6014aa83d1d9fd36e4f7ca (diff)
downloadbusybox-w32-2f2ce3c4222378da84c9f5f555c32409566579d8.tar.gz
busybox-w32-2f2ce3c4222378da84c9f5f555c32409566579d8.tar.bz2
busybox-w32-2f2ce3c4222378da84c9f5f555c32409566579d8.zip
preparatory patch for -Wwrite-strings #2
git-svn-id: svn://busybox.net/trunk/busybox@17654 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell/hush.c')
-rw-r--r--shell/hush.c3
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
311static void __syntax(char *file, int line) { 311static 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...