diff options
Diffstat (limited to 'src/basic/smack-util.c')
-rw-r--r-- | src/basic/smack-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/smack-util.c b/src/basic/smack-util.c index 2e24b1ea99..0c3697b61b 100644 --- a/src/basic/smack-util.c +++ b/src/basic/smack-util.c @@ -139,7 +139,7 @@ int mac_smack_apply_pid(pid_t pid, const char *label) { return 0; p = procfs_file_alloca(pid, "attr/current"); - r = write_string_file(p, label); + r = write_string_file(p, label, WRITE_STRING_FILE_CREATE); if (r < 0) return r; #endif |