chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mac: rename apis with mac_{selinux/smack}_ prefix
[elogind.git]
/
src
/
hostname
/
hostnamed.c
diff --git
a/src/hostname/hostnamed.c
b/src/hostname/hostnamed.c
index b6b5d524c5b5671bc19c0274cea279a494c1854e..0cffb5f683a742f0febcd2fdd2c6181f4e3f8dac 100644
(file)
--- a/
src/hostname/hostnamed.c
+++ b/
src/hostname/hostnamed.c
@@
-684,7
+684,7
@@
int main(int argc, char *argv[]) {
log_open();
umask(0022);
-
label
_init("/etc");
+
mac_selinux
_init("/etc");
if (argc != 1) {
log_error("This program takes no arguments.");