summaryrefslogtreecommitdiff
path: root/test/test-udev.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-udev.c')
-rw-r--r--test/test-udev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-udev.c b/test/test-udev.c
index 446849e4b0..d07962c285 100644
--- a/test/test-udev.c
+++ b/test/test-udev.c
@@ -110,7 +110,7 @@ int main(int argc, char *argv[]) {
return EXIT_FAILURE;
log_debug("version %s", VERSION);
- label_init("/dev");
+ mac_selinux_init("/dev");
sigprocmask(SIG_SETMASK, NULL, &sigmask_orig);
@@ -169,7 +169,7 @@ int main(int argc, char *argv[]) {
out:
if (event != NULL && event->fd_signal >= 0)
close(event->fd_signal);
- label_finish();
+ mac_selinux_finish();
return err ? EXIT_FAILURE : EXIT_SUCCESS;
}