Print the device name, not just "the device"

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2015-08-18 15:59:09 +10:00
parent 6ca2de81dd
commit fd211ba552

View File

@@ -174,7 +174,8 @@ ratbag_device_init_udev(struct libratbag *libratbag, struct ratbag *ratbag,
log_debug(libratbag,
"%s is associated to '%s'.\n",
udev_device_get_devnode(ratbag->udev_hidraw), "the device");
udev_device_get_devnode(ratbag->udev_hidraw),
ratbag->name);
rc = 0;
udev_device_unref(hidraw_udev);