summaryrefslogtreecommitdiff
path: root/udevinfo.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-11-12 06:32:19 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 22:25:14 -0700
commit02fa9ae58920b431bc37182716dd863f1c482651 (patch)
tree5fa9d6807631227f8538caab665e326eefadc8bb /udevinfo.c
parent8673dcb84299fd2adba6281c5359bed4399d5b2d (diff)
[PATCH] rename udevdb* to udev_db*
Diffstat (limited to 'udevinfo.c')
-rw-r--r--udevinfo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/udevinfo.c b/udevinfo.c
index 1148272743..08c25d3a04 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;