[1/1] banned.h: fix vsprintf warning
diff mbox series

Message ID 148e4c1f06ebf86664cd7fa3007fa9e09962c95d.1566832910.git.gitgitgadget@gmail.com
State New
Headers show
  • banned.h: fix vsprintf warning
Related show

Commit Message

Heba Waly via GitGitGadget Aug. 26, 2019, 3:21 p.m. UTC
From: Andrey Portnoy <aportnoy@ucsd.edu>

Previously sprintf was the argument to the BANNED macro, where vsprintf
is expected.

Signed-off-by: Andrey Portnoy <aportnoy@ucsd.edu>
 banned.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff mbox series

diff --git a/banned.h b/banned.h
index 447af24807..60a18d4403 100644
--- a/banned.h
+++ b/banned.h
@@ -26,7 +26,7 @@ 
 #define vsprintf(...) BANNED(vsprintf)
 #define sprintf(buf,fmt,arg) BANNED(sprintf)
-#define vsprintf(buf,fmt,arg) BANNED(sprintf)
+#define vsprintf(buf,fmt,arg) BANNED(vsprintf)
 #endif /* BANNED_H */