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