Skip to content

Commit 37ee7d1

Browse files
cmkyushuahkh
authored andcommitted
selftests/exec: Fix grammar in an error message.
Replace "not ... nor" in the error message with "neither ... nor". Signed-off-by: Chang Yu <marcus.yu.56@gmail.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
1 parent 45eb1bf commit 37ee7d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/testing/selftests/exec/execveat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ static int check_execveat_invoked_rc(int fd, const char *path, int flags,
117117
}
118118
if ((WEXITSTATUS(status) != expected_rc) &&
119119
(WEXITSTATUS(status) != expected_rc2)) {
120-
ksft_print_msg("child %d exited with %d not %d nor %d\n",
120+
ksft_print_msg("child %d exited with %d neither %d nor %d\n",
121121
child, WEXITSTATUS(status), expected_rc,
122122
expected_rc2);
123123
ksft_test_result_fail("%s\n", test_name);

0 commit comments

Comments
 (0)