From 148e4c1f06ebf86664cd7fa3007fa9e09962c95d Mon Sep 17 00:00:00 2001 From: Andrey Portnoy Date: Sun, 25 Aug 2019 11:14:27 -0700 Subject: [PATCH] banned.h: fix vsprintf warning Previously sprintf was the argument to the BANNED macro, where vsprintf is expected. Signed-off-by: Andrey Portnoy --- banned.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/banned.h b/banned.h index 447af24807f49f..60a18d44033b20 100644 --- a/banned.h +++ b/banned.h @@ -26,7 +26,7 @@ #define vsprintf(...) BANNED(vsprintf) #else #define sprintf(buf,fmt,arg) BANNED(sprintf) -#define vsprintf(buf,fmt,arg) BANNED(sprintf) +#define vsprintf(buf,fmt,arg) BANNED(vsprintf) #endif #endif /* BANNED_H */