From 70b127c9f1c53bdb42f078265e67f76b464deae2 Mon Sep 17 00:00:00 2001 From: Aaron Plattner Date: Thu, 10 Jan 2013 17:01:17 -0800 Subject: 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 Reviewed-by: Peter Hutterer Signed-off-by: Keith Packard --- config/udev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') 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; -- cgit v1.2.3