Skip to content

Commit 148e4c1

Browse files
committed
banned.h: fix vsprintf warning
Previously sprintf was the argument to the BANNED macro, where vsprintf is expected. Signed-off-by: Andrey Portnoy <aportnoy@ucsd.edu>
1 parent 75b2f01 commit 148e4c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

banned.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#define vsprintf(...) BANNED(vsprintf)
2727
#else
2828
#define sprintf(buf,fmt,arg) BANNED(sprintf)
29-
#define vsprintf(buf,fmt,arg) BANNED(sprintf)
29+
#define vsprintf(buf,fmt,arg) BANNED(vsprintf)
3030
#endif
3131

3232
#endif /* BANNED_H */

0 commit comments

Comments
 (0)