diff options
Diffstat (limited to 'udevinfo.c')
-rw-r--r-- | udevinfo.c | 2 |
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; |