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 <[email protected]>
---
There are plenty of other format warnings, but this one was particularly
egregious.

 config/udev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/udev.c b/config/udev.c
index 454838f..de89241 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;
 
-- 
1.7.12

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to