summaryrefslogtreecommitdiff
path: root/src/udev/udevadm.c
diff options
context:
space:
mode:
authorWaLyong Cho <walyong.cho@samsung.com>2014-10-25 13:53:41 -0400
committerAnthony G. Basile <blueness@gentoo.org>2014-10-25 13:53:41 -0400
commit596470312abfa98f0b1a91ecd86effa7eae936af (patch)
tree1e14743a756d3a9a75258c328b26c36668982c93 /src/udev/udevadm.c
parentd51b1d3cb936c8390a34ed87d81303efbb7df533 (diff)
mac: rename apis with mac_{selinux/smack}_ prefix
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/udev/udevadm.c')
-rw-r--r--src/udev/udevadm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/udevadm.c b/src/udev/udevadm.c
index 1d2e7dd5d6..fda5aecd83 100644
--- a/src/udev/udevadm.c
+++ b/src/udev/udevadm.c
@@ -98,7 +98,7 @@ int main(int argc, char *argv[]) {
log_open();
udev_set_log_fn(udev, udev_main_log);
- label_init("/dev");
+ mac_selinux_init("/dev");
while ((c = getopt_long(argc, argv, "+dhV", options, NULL)) >= 0)
switch (c) {
@@ -136,7 +136,7 @@ int main(int argc, char *argv[]) {
fprintf(stderr, "%s: missing or unknown command\n", program_invocation_short_name);
rc = 2;
out:
- label_finish();
+ mac_selinux_finish();
udev_unref(udev);
log_close();
return rc;