summaryrefslogtreecommitdiff
path: root/udev_db.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 /udev_db.c
parent64d735e652e949dae5bcaf2bd2004a2d67e627cf (diff)
change parameter order of udev_db_search_name()
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udev_db.c')
-rw-r--r--udev_db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_db.c b/udev_db.c
index d958c6173b..5377a3b373 100644
--- a/udev_db.c
+++ b/udev_db.c
@@ -202,7 +202,7 @@ int udev_db_get_device(struct udevice *udev, const char *devpath)
return 0;
}
-int udev_db_search_name(char *devpath, size_t len, const char *name)
+int udev_db_search_name(const char *name, char *devpath, size_t len)
{
DIR *dir;
char path[PATH_SIZE];