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:
parent
605dfc6804
commit
70b127c9f1
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user