summaryrefslogtreecommitdiff
path: root/udevinfo.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-08-27 15:46:58 +0200
committerKay Sievers <kay.sievers@suse.de>2005-08-27 15:46:58 +0200
commit314edf3ca44b268fa70a7a87a106322e2dd461af (patch)
treef482af384979f513a762730991f475849d1150bb /udevinfo.c
parent64d735e652e949dae5bcaf2bd2004a2d67e627cf (diff)
change parameter order of udev_db_search_name()
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 11b0104581..b546488c7e 100644
--- a/udevinfo.c
+++ b/udevinfo.c
@@ -321,7 +321,7 @@ int main(int argc, char *argv[], char *envp[])
} else
pos = name;
- retval = udev_db_search_name(devpath, sizeof(devpath), pos);
+ retval = udev_db_search_name(pos, devpath, sizeof(devpath));
if (retval != 0) {
fprintf(stderr, "no record for '%s' in database\n", pos);
goto exit;