summaryrefslogtreecommitdiff
path: root/udev.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-11-25 02:44:38 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 22:44:02 -0700
commit9af5bb2f8fdbf54c064ddbd319d61092f28a4132 (patch)
treef747df2b668e898cffa9797543196bb2c8204f9e /udev.c
parent8a0dc204e902a47a5b251c6d4a29eddb8f4a634a (diff)
[PATCH] rename udev_lib to udev_utils and dev_d to udev_multiplex
Diffstat (limited to 'udev.c')
-rw-r--r--udev.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/udev.c b/udev.c
index e71cddd3ee..9b0a00fb78 100644
--- a/udev.c
+++ b/udev.c
@@ -33,7 +33,7 @@
#include "libsysfs/sysfs/libsysfs.h"
#include "udev.h"
-#include "udev_lib.h"
+#include "udev_utils.h"
#include "udev_sysfs.h"
#include "udev_version.h"
#include "namedev.h"
@@ -182,7 +182,7 @@ int main(int argc, char *argv[], char *envp[])
/* run dev.d/ scripts if we created a node or changed a netif name */
if (udev.devname[0] != '\0') {
setenv("DEVNAME", udev.devname, 1);
- dev_d_execute(&udev, DEVD_DIR, DEVD_SUFFIX);
+ udev_multiplex_directory(&udev, DEVD_DIR, DEVD_SUFFIX);
}
sysfs_close_class_device(class_dev);
@@ -200,7 +200,7 @@ int main(int argc, char *argv[], char *envp[])
/* run dev.d/ scripts if we're not instructed to ignore the event */
if (udev.devname[0] != '\0') {
setenv("DEVNAME", udev.devname, 1);
- dev_d_execute(&udev, DEVD_DIR, DEVD_SUFFIX);
+ udev_multiplex_directory(&udev, DEVD_DIR, DEVD_SUFFIX);
}
}
@@ -229,7 +229,7 @@ int main(int argc, char *argv[], char *envp[])
hotplug:
if (manage_hotplug_event())
- dev_d_execute(&udev, HOTPLUGD_DIR, HOTPLUG_SUFFIX);
+ udev_multiplex_directory(&udev, HOTPLUGD_DIR, HOTPLUG_SUFFIX);
exit:
logging_close();