summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSami Kerola2012-03-05 21:28:41 +0100
committerSami Kerola2012-03-18 14:28:05 +0100
commitbb9da58e80034425236f91ccf910ef3967688f7c (patch)
treedf27469183eab0d0d620b981acaae7468d0cdef0 /tools
parentbuild-sys: fix chkdupexe regression (diff)
downloadkernel-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')
-rwxr-xr-xtools/checkxalloc.sh2
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=$?