config/udev: fix "removing GPU device" format string mistake

udev.c: In function 'device_removed':
 udev.c:270:9: warning: format '%d' expects argument of type 'int', but argument 3 has type 'const char *' [-Wformat]

Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Aaron Plattner 2013-01-10 17:01:17 -08:00 committed by Keith Packard
parent 605dfc6804
commit 70b127c9f1

View File

@ -267,7 +267,7 @@ device_removed(struct udev_device *device)
if (strncmp(sysname,"card", 4) != 0)
return;
ErrorF("removing GPU device %s %d\n", syspath, path);
ErrorF("removing GPU device %s %s\n", syspath, path);
if (!path)
return;