From: Sami Kerola Date: Mon, 5 Mar 2012 20:28:41 +0000 (+0100) Subject: tools: add asprintf to checkxalloc script X-Git-Tag: v2.22-rc1~654 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb9da58e80034425236f91ccf910ef3967688f7c;p=thirdparty%2Futil-linux.git tools: add asprintf to checkxalloc script Reported-By: Dave Reisner Signed-off-by: Sami Kerola --- diff --git a/tools/checkxalloc.sh b/tools/checkxalloc.sh index 578340e26d..c507777dbc 100755 --- a/tools/checkxalloc.sh +++ b/tools/checkxalloc.sh @@ -10,7 +10,7 @@ cd "$(git rev-parse --show-toplevel)" || { } git grep -zl '#include "xalloc.h"' | - xargs -0 grep -nwE '[^x](([cm]|re)alloc|strdup)\(' + xargs -0 grep -nwE '[^x](([cm]|re)alloc|strdup|asprintf)\(' result=$?