summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/safesetid
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-08-26 14:14:45 +0200
committerShuah Khan <skhan@linuxfoundation.org>2021-08-26 23:15:24 +0200
commit7ce05074b93c7f130c48e04defa63d157adeb143 (patch)
tree909b17b518ee3eb25b8169bf38e35a98a2730850 /tools/testing/selftests/safesetid
parentselftests/x86: Fix error: variably modified 'altstack_data' at file scope (diff)
downloadlinux-7ce05074b93c7f130c48e04defa63d157adeb143.tar.xz
linux-7ce05074b93c7f130c48e04defa63d157adeb143.zip
selftests: safesetid: Fix spelling mistake "cant" -> "can't"
There is a spelling mistake in an error message. Fix it. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/safesetid')
-rw-r--r--tools/testing/selftests/safesetid/safesetid-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/safesetid/safesetid-test.c b/tools/testing/selftests/safesetid/safesetid-test.c
index 0c4d50644c13..4b809c93ba36 100644
--- a/tools/testing/selftests/safesetid/safesetid-test.c
+++ b/tools/testing/selftests/safesetid/safesetid-test.c
@@ -152,7 +152,7 @@ static void write_policies(void)
fd = open(add_whitelist_policy_file, O_WRONLY);
if (fd < 0)
- die("cant open add_whitelist_policy file\n");
+ die("can't open add_whitelist_policy file\n");
written = write(fd, policy_str, strlen(policy_str));
if (written != strlen(policy_str)) {
if (written >= 0) {