diff options
| author | Sami Kerola <kerolasa@iki.fi> | 2012-03-05 21:28:41 +0100 |
|---|---|---|
| committer | Sami Kerola <kerolasa@iki.fi> | 2012-03-18 14:28:05 +0100 |
| commit | bb9da58e80034425236f91ccf910ef3967688f7c (patch) | |
| tree | df27469183eab0d0d620b981acaae7468d0cdef0 /tools | |
| parent | 6500ec90de0cc98c2cdbe9d77138b9c230351f39 (diff) | |
| download | util-linux-bb9da58e80034425236f91ccf910ef3967688f7c.tar.gz | |
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-x | tools/checkxalloc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/checkxalloc.sh b/tools/checkxalloc.sh index 578340e2..c507777d 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=$? |
