Commit 70b127c9 authored by Aaron Plattner's avatar Aaron Plattner Committed by Keith Packard
Browse files

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's avatarAaron Plattner <aplattner@nvidia.com>
Reviewed-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
parent 605dfc68
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment