From 52c7b39fff984b2b70621f84eea067d8afbdd2cb Mon Sep 17 00:00:00 2001 From: tjr Date: Sat, 23 Aug 2003 13:05:13 +0000 Subject: Remove the # ("stringify") operator from the printf() arguments in the iprintf macro. It was causing the actual format string and variable names to be written out, instead of substituting the values of the variables into the format string. --- contrib/smbfs/smbutil/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/smbfs/smbutil/common.h b/contrib/smbfs/smbutil/common.h index 2a64af6..0084394 100644 --- a/contrib/smbfs/smbutil/common.h +++ b/contrib/smbfs/smbutil/common.h @@ -1,7 +1,7 @@ /* $FreeBSD$ */ #define iprintf(ident,args...) do { printf("%-" # ident "s", ""); \ - printf(# args);}while(0) + printf(args);}while(0) extern int verbose; -- cgit v1.1