chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
logind: allow sessions to share a VT if it's a greeter
[elogind.git]
/
src
/
shared
/
smack-util.c
diff --git
a/src/shared/smack-util.c
b/src/shared/smack-util.c
index 2e24b1ea992e0dea7deb8079ec276d8c8cc54a9a..047aa294f4c0a11610530adb2dd875ca7ec4ebeb 100644
(file)
--- a/
src/shared/smack-util.c
+++ b/
src/shared/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
, 0
);
if (r < 0)
return r;
#endif