chiark / gitweb /
[PATCH] trivial rename of some variables
[elogind.git] / udev_db.c
index df63bbe2ce147690a16d585382a16c9b2f308b85..61d4b130d35f0e64aeb82b3189deaf108a5d346a 100644 (file)
--- a/udev_db.c
+++ b/udev_db.c
@@ -179,7 +179,7 @@ int udev_db_get_device_by_devpath(struct udevice *udev, const char *devpath)
        return parse_db_file(udev, filename);
 }
 
-int udev_db_get_device_byname(struct udevice *udev, const char *name)
+int udev_db_get_device_by_name(struct udevice *udev, const char *name)
 {
        struct dirent *ent;
        DIR *dir;