forked from Minki/linux
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>
This commit is contained in:
parent
a051b2e56f
commit
7ce05074b9
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user