aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 13efbbb87..bf7afaba0 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)