summaryrefslogtreecommitdiff
path: root/extras/floppy/create_floppy_devices.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-10-18 20:12:55 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-10-18 20:12:55 +0200
commit54808d77a3a62172fc6acbeec968be67c207509e (patch)
treedbc67d94d53ee701cb4bdc31aa45bdf96cd4f446 /extras/floppy/create_floppy_devices.c
parentc3b1fa66d2685780e60e4c5b8bc0c2e717c1ee71 (diff)
prefix udev-util.c functions with util_*
Diffstat (limited to 'extras/floppy/create_floppy_devices.c')
-rw-r--r--extras/floppy/create_floppy_devices.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/extras/floppy/create_floppy_devices.c b/extras/floppy/create_floppy_devices.c
index 6c5b3b4800..f5069f7220 100644
--- a/extras/floppy/create_floppy_devices.c
+++ b/extras/floppy/create_floppy_devices.c
@@ -68,7 +68,7 @@ int main(int argc, char **argv)
logging_init("create_floppy_devices");
udev_set_log_fn(udev, log_fn);
- selinux_init(udev);
+ udev_selinux_init(udev);
while ((c = getopt(argc, argv, "cudm:U:G:M:t:")) != -1) {
switch (c) {
@@ -79,10 +79,10 @@ int main(int argc, char **argv)
print_nodes = 1;
break;
case 'U':
- uid = lookup_user(udev, optarg);
+ uid = util_lookup_user(udev, optarg);
break;
case 'G':
- gid = lookup_group(udev, optarg);
+ gid = util_lookup_group(udev, optarg);
break;
case 'M':
mode = strtol(optarg, NULL, 0);
@@ -162,7 +162,7 @@ int main(int argc, char **argv)
i++;
}
- selinux_exit(udev);
+ udev_selinux_exit(udev);
udev_unref(udev);
exit:
return 0;