From 1bb3d7e45021f9ca55d8ad6ba9193fda0e129284 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 20 Mar 2009 07:45:36 +0000 Subject: [PATCH] ash: add missing comma in debug scaffolding --- shell/ash.c | 6 +++--- 1 file 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) -- 2.25.1