summaryrefslogtreecommitdiff
path: root/udev/udevd.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/udevd.c
parent75250977137c26f706fc1514aca7982107859b1c (diff)
convert to libudev and delete udev_utils_string.c
Diffstat (limited to 'udev/udevd.c')
-rw-r--r--udev/udevd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/udev/udevd.c b/udev/udevd.c
index e88b11daa0..06bfbd953e 100644
--- a/udev/udevd.c
+++ b/udev/udevd.c
@@ -180,7 +180,7 @@ static void export_event_state(struct udevd_uevent_msg *msg, enum event_state st
strlcat(filename_failed, "/", sizeof(filename_failed));
start = strlcat(filename_failed, ".udev/failed/", sizeof(filename_failed));
strlcat(filename_failed, msg->devpath, sizeof(filename_failed));
- path_encode(&filename_failed[start], sizeof(filename_failed) - start);
+ util_path_encode(&filename_failed[start], sizeof(filename_failed) - start);
switch (state) {
case EVENT_QUEUED:
@@ -200,7 +200,7 @@ static void export_event_state(struct udevd_uevent_msg *msg, enum event_state st
strlcat(filename_failed_old, "/", sizeof(filename_failed_old));
start = strlcat(filename_failed_old, ".udev/failed/", sizeof(filename_failed_old));
strlcat(filename_failed_old, msg->devpath_old, sizeof(filename_failed_old));
- path_encode(&filename_failed_old[start], sizeof(filename) - start);
+ util_path_encode(&filename_failed_old[start], sizeof(filename) - start);
if (rename(filename_failed_old, filename_failed) == 0)
info(msg->udev, "renamed devpath, moved failed state of '%s' to %s'\n",