[PATCH 1/1] banned.h: fix vsprintf warning
- From
- Andrey Portnoy via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Aug 26, 2019, 15:21 UTC
- Message-ID
- <148e4c1f06ebf86664cd7fa3007fa9e09962c95d.1566832910.git.gitgitgadget@gmail.com>
- In-Reply-To
- <pull.322.git.gitgitgadget@gmail.com>
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 --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) #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 */
-- gitgitgadget