OSDN Git Service

selftests/exec: Use %zu to format size_t
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 21 Dec 2014 10:58:16 +0000 (11:58 +0100)
committerShuah Khan <shuahkh@osg.samsung.com>
Mon, 22 Dec 2014 18:11:36 +0000 (11:11 -0700)
commit6898b627aab6ba553e6d8b40a0b1ddc43c48d42f
tree25e0a6e62aebe992dbcfc6e3cfbc9cf202c6c1eb
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672
selftests/exec: Use %zu to format size_t

On 32-bit:

execveat.c: In function 'check_execveat_pathmax':
execveat.c:183: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'size_t'
execveat.c:187: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'size_t'

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/exec/execveat.c