summaryrefslogtreecommitdiff
path: root/udevinfo.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-08-27 23:27:43 +0200
committerKay Sievers <kay.sievers@suse.de>2005-08-27 23:27:43 +0200
commit7104c558dad47ee85860ebb891bdc8820d95154d (patch)
tree348ccc44696e396a19f969e2aa4215c9a6973894 /udevinfo.c
parentfb17920701dcba0d94e3fde566788a868e41d1ad (diff)
don't store devpath in udevdb, we don't need it
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udevinfo.c')
-rw-r--r--udevinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udevinfo.c b/udevinfo.c
index fadfaec945..c7d801b87c 100644
--- a/udevinfo.c
+++ b/udevinfo.c
@@ -319,7 +319,7 @@ int main(int argc, char *argv[], char *envp[])
} else
pos = name;
- retval = udev_db_search_name(pos, devpath, sizeof(devpath));
+ retval = udev_db_lookup_name(pos, devpath, sizeof(devpath));
if (retval != 0) {
fprintf(stderr, "no record for '%s' in database\n", pos);
goto exit;