summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenis Vlasenko2009-03-20 07:45:36 +0000
committerDenis Vlasenko2009-03-20 07:45:36 +0000
commit1bb3d7e45021f9ca55d8ad6ba9193fda0e129284 (patch)
tree43b850fc18abd9d63265de40c20fa3c4b4ee916d /shell
parentb9e70ddf2d27767ec45701267f0adde6033e7fd9 (diff)
downloadbusybox-1bb3d7e45021f9ca55d8ad6ba9193fda0e129284.zip
busybox-1bb3d7e45021f9ca55d8ad6ba9193fda0e129284.tar.gz
ash: add missing comma in debug scaffolding
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 13efbbb..bf7afab 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -260,11 +260,11 @@ static void trace_printf(const char *fmt, ...);
static void trace_vprintf(const char *fmt, va_list va);
# define TRACE(param) trace_printf param
# define TRACEV(param) trace_vprintf param
-# define close(f) do { \
- int dfd = (f); \
+# define close(fd) do { \
+ int dfd = (fd); \
if (close(dfd) < 0) \
bb_error_msg("bug on %d: closing %d(%x)", \
- __LINE__, dfd dfd); \
+ __LINE__, dfd, dfd); \
} while (0)
#else
# define TRACE(param)