summaryrefslogtreecommitdiff
path: root/udev/udevadm-control.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-10 18:39:23 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-10 18:39:23 +0200
commitecc9ec579feb4b7cc86bcf7caed3cb841faf3c9e (patch)
treeec4a377b0fb8729c7620d773f5a10eb10dbcc421 /udev/udevadm-control.c
parent75250977137c26f706fc1514aca7982107859b1c (diff)
convert to libudev and delete udev_utils_string.c
Diffstat (limited to 'udev/udevadm-control.c')
-rw-r--r--udev/udevadm-control.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/udev/udevadm-control.c b/udev/udevadm-control.c
index 12b1e45f23..e3a91fc9a4 100644
--- a/udev/udevadm-control.c
+++ b/udev/udevadm-control.c
@@ -91,12 +91,12 @@ int udevadm_control(struct udev *udev, int argc, char *argv[])
switch (option) {
case 'l':
case 'l' + 256:
- i = log_priority(optarg);
+ i = util_log_priority(optarg);
if (i < 0) {
fprintf(stderr, "invalid number '%s'\n", optarg);
goto exit;
}
- udev_ctrl_send_set_log_level(uctrl, log_priority(optarg));
+ udev_ctrl_send_set_log_level(uctrl, util_log_priority(optarg));
rc = 0;
break;
case 's':
@@ -151,7 +151,7 @@ int udevadm_control(struct udev *udev, int argc, char *argv[])
"this will stop working in a future release\n");
if (!strncmp(arg, "log_priority=", strlen("log_priority="))) {
- udev_ctrl_send_set_log_level(uctrl, log_priority(&arg[strlen("log_priority=")]));
+ udev_ctrl_send_set_log_level(uctrl, util_log_priority(&arg[strlen("log_priority=")]));
rc = 0;
goto exit;
} else if (!strcmp(arg, "stop_exec_queue")) {