1
0
mirror of https://github.com/libretro/RetroArch synced 2025-03-25 07:43:52 +00:00

Use the same format as in the autoconfigs

This commit is contained in:
Alcaro 2016-06-30 22:06:36 +02:00
parent 10d9e2a261
commit f5881c17ef

@ -242,7 +242,7 @@ static int udev_add_pad(struct udev_device *dev, unsigned p, int fd, const char
if ((buf = udev_device_get_sysattr_value(parent, "idProduct")) != NULL) if ((buf = udev_device_get_sysattr_value(parent, "idProduct")) != NULL)
pad->pid = strtol(buf, NULL, 16); pad->pid = strtol(buf, NULL, 16);
RARCH_LOG("[udev]: Plugged pad: %s (%04x:%04x) on port #%u.\n", RARCH_LOG("[udev]: Plugged pad: %s (%u:%u) on port #%u.\n",
pad->ident, pad->vid, pad->pid, p); pad->ident, pad->vid, pad->pid, p);
if (fstat(fd, &st) < 0) if (fstat(fd, &st) < 0)