diff options
author | Sami Kerola | 2012-03-05 21:28:41 +0100 |
---|---|---|
committer | Sami Kerola | 2012-03-18 14:28:05 +0100 |
commit | bb9da58e80034425236f91ccf910ef3967688f7c (patch) | |
tree | df27469183eab0d0d620b981acaae7468d0cdef0 /tools/checkxalloc.sh | |
parent | build-sys: fix chkdupexe regression (diff) | |
download | kernel-qcow2-util-linux-bb9da58e80034425236f91ccf910ef3967688f7c.tar.gz kernel-qcow2-util-linux-bb9da58e80034425236f91ccf910ef3967688f7c.tar.xz kernel-qcow2-util-linux-bb9da58e80034425236f91ccf910ef3967688f7c.zip |
tools: add asprintf to checkxalloc script
Reported-By: Dave Reisner <d@falconindy.com>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'tools/checkxalloc.sh')
-rwxr-xr-x | tools/checkxalloc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/checkxalloc.sh b/tools/checkxalloc.sh index 578340e26..c507777db 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=$? |