Commit 6ab1e8de9f953c789d5dd231a7d6e96f1ddfa8b1
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
Merge tag 'linux-kselftest-3.19-fixes' of git://git.kernel.org/pub/scm/linux/ker…
…nel/git/shuah/linux-kselftest Pull kselftest fix from Shuah Khan: "Fix exec test compile warnings" * tag 'linux-kselftest-3.19-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: selftests/exec: Use %zu to format size_t
Showing 1 changed file Side-by-side Diff
tools/testing/selftests/exec/execveat.c
... | ... | @@ -179,11 +179,11 @@ |
179 | 179 | */ |
180 | 180 | fd = open(longpath, O_RDONLY); |
181 | 181 | if (fd > 0) { |
182 | - printf("Invoke copy of '%s' via filename of length %lu:\n", | |
182 | + printf("Invoke copy of '%s' via filename of length %zu:\n", | |
183 | 183 | src, strlen(longpath)); |
184 | 184 | fail += check_execveat(fd, "", AT_EMPTY_PATH); |
185 | 185 | } else { |
186 | - printf("Failed to open length %lu filename, errno=%d (%s)\n", | |
186 | + printf("Failed to open length %zu filename, errno=%d (%s)\n", | |
187 | 187 | strlen(longpath), errno, strerror(errno)); |
188 | 188 | fail++; |
189 | 189 | } |