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.
This commit is contained in:
parent
3944d0ff35
commit
c69db88340
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119363
@ -1,7 +1,7 @@
|
|||||||
/* $FreeBSD$ */
|
/* $FreeBSD$ */
|
||||||
|
|
||||||
#define iprintf(ident,args...) do { printf("%-" # ident "s", ""); \
|
#define iprintf(ident,args...) do { printf("%-" # ident "s", ""); \
|
||||||
printf(# args);}while(0)
|
printf(args);}while(0)
|
||||||
|
|
||||||
extern int verbose;
|
extern int verbose;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user