diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-08-27 23:27:43 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-08-27 23:27:43 +0200 |
commit | 7104c558dad47ee85860ebb891bdc8820d95154d (patch) | |
tree | 348ccc44696e396a19f969e2aa4215c9a6973894 /udev_rules.c | |
parent | fb17920701dcba0d94e3fde566788a868e41d1ad (diff) |
don't store devpath in udevdb, we don't need it
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udev_rules.c')
-rw-r--r-- | udev_rules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_rules.c b/udev_rules.c index 3cbcad55c1..41a7291d79 100644 --- a/udev_rules.c +++ b/udev_rules.c @@ -279,7 +279,7 @@ static int find_free_number(const char *name, const char *devpath) strlcpy(filename, name, sizeof(filename)); while (1) { dbg("look for existing node '%s'", filename); - if (udev_db_search_name(filename, db_devpath, sizeof(db_devpath)) != 0) { + if (udev_db_lookup_name(filename, db_devpath, sizeof(db_devpath)) != 0) { dbg("free num=%d", num); break; } |