X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udev_add.c;h=f537f567ccdfb36c034af288cc26841f9191d9d7;hb=9af5bb2f8fdbf54c064ddbd319d61092f28a4132;hp=c139bd38bf0ac1bbde2f4686ddfc81b622ec8554;hpb=8673dcb84299fd2adba6281c5359bed4399d5b2d;p=elogind.git diff --git a/udev_add.c b/udev_add.c index c139bd38b..f537f567c 100644 --- a/udev_add.c +++ b/udev_add.c @@ -38,11 +38,11 @@ #include "libsysfs/sysfs/libsysfs.h" #include "udev.h" -#include "udev_lib.h" +#include "udev_utils.h" #include "udev_version.h" #include "logging.h" #include "namedev.h" -#include "udevdb.h" +#include "udev_db.h" #include "selinux.h" @@ -303,8 +303,8 @@ int udev_add_device(struct udevice *udev, struct sysfs_class_device *class_dev) if (retval != 0) goto exit; - if (udevdb_add_dev(udev) != 0) - dbg("udevdb_add_dev failed, but we create the node anyway, " + if (udev_db_add_device(udev) != 0) + dbg("udev_db_add_dev failed, but we create the node anyway, " "remove might not work for custom names"); /* use full path to the environment */