projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'linux-kselftest-3.19-fixes' of git://git.kernel.org/pub/scm/linux/kernel...
[firefly-linux-kernel-4.4.55.git]
/
tools
/
testing
/
selftests
/
exec
/
execveat.c
diff --git
a/tools/testing/selftests/exec/execveat.c
b/tools/testing/selftests/exec/execveat.c
index 33a5c06d95caa038f682c411ad26df0788d16f5b..d273624c93a642544f8ba2b31d45cebbc505dc52 100644
(file)
--- a/
tools/testing/selftests/exec/execveat.c
+++ b/
tools/testing/selftests/exec/execveat.c
@@
-179,11
+179,11
@@
static int check_execveat_pathmax(int dot_dfd, const char *src, int is_script)
*/
fd = open(longpath, O_RDONLY);
if (fd > 0) {
*/
fd = open(longpath, O_RDONLY);
if (fd > 0) {
- printf("Invoke copy of '%s' via filename of length %
l
u:\n",
+ printf("Invoke copy of '%s' via filename of length %
z
u:\n",
src, strlen(longpath));
fail += check_execveat(fd, "", AT_EMPTY_PATH);
} else {
src, strlen(longpath));
fail += check_execveat(fd, "", AT_EMPTY_PATH);
} else {
- printf("Failed to open length %
l
u filename, errno=%d (%s)\n",
+ printf("Failed to open length %
z
u filename, errno=%d (%s)\n",
strlen(longpath), errno, strerror(errno));
fail++;
}
strlen(longpath), errno, strerror(errno));
fail++;
}