summaryrefslogtreecommitdiffstats
path: root/contrib/smbfs/smbutil/common.h
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2003-08-23 13:05:13 +0000
committertjr <tjr@FreeBSD.org>2003-08-23 13:05:13 +0000
commit52c7b39fff984b2b70621f84eea067d8afbdd2cb (patch)
treef9613be1dc62e380a694d62e2a627e8595b718a0 /contrib/smbfs/smbutil/common.h
parentf55f06a8e780ccafa615fab92e6997be0a320372 (diff)
downloadFreeBSD-src-52c7b39fff984b2b70621f84eea067d8afbdd2cb.zip
FreeBSD-src-52c7b39fff984b2b70621f84eea067d8afbdd2cb.tar.gz
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.
Diffstat (limited to 'contrib/smbfs/smbutil/common.h')
-rw-r--r--contrib/smbfs/smbutil/common.h2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud