X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udevinfo.c;h=08c25d3a047883029f25821759b166cca100ff73;hp=11482727436d31a9e78432ac531c4e4cd48bd5b5;hb=6818c51d7abeab9914eb7193968b1efa9459a853;hpb=af4b05d4917fdfa55eff3d8d53a830464d8162a1 diff --git a/udevinfo.c b/udevinfo.c index 114827274..08c25d3a0 100644 --- a/udevinfo.c +++ b/udevinfo.c @@ -32,8 +32,8 @@ #include "udev.h" #include "udev_lib.h" #include "udev_version.h" +#include "udev_db.h" #include "logging.h" -#include "udevdb.h" #define SYSFS_VALUE_SIZE 256 @@ -355,7 +355,7 @@ static int process_options(int argc, char *argv[]) } memset(&udev, 0x00, sizeof(struct udevice)); strfieldcpy(udev.devpath, pos); - retval = udevdb_get_dev(&udev); + retval = udev_db_get_device(&udev); if (retval != 0) { printf("device not found in database\n"); goto exit; @@ -374,7 +374,7 @@ static int process_options(int argc, char *argv[]) memset(&udev, 0x00, sizeof(struct udevice)); strfieldcpy(udev.name, pos); - retval = udevdb_get_dev_byname(&udev, pos); + retval = udev_db_get_device_byname(&udev, pos); if (retval != 0) { printf("device not found in database\n"); goto exit;