Skip to content

Commit

Permalink
selftests: safesetid: Fix spelling mistake "cant" -> "can't"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Colin Ian King authored and Shuah Khan committed Aug 26, 2021
1 parent a051b2e commit 7ce0507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/safesetid/safesetid-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7ce0507

Please sign in to comment.