summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2013-01-10 17:01:17 -0800
committerKeith Packard <keithp@keithp.com>2013-01-21 19:41:09 -0800
commit70b127c9f1c53bdb42f078265e67f76b464deae2 (patch)
tree5a4943fbb92b4f97b1c8bd55f99f50dfeebb597f /config
parent605dfc6804a05ff2bda5692fec26c37344fd95cb (diff)
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>
Diffstat (limited to 'config')
-rw-r--r--config/udev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/udev.c b/config/udev.c
index 454838f4c..de8924143 100644
--- a/config/udev.c
+++ b/config/udev.c
@@ -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;