xfree86: change a log message
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 11 Apr 2013 23:14:53 +0000 (09:14 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Fri, 12 Apr 2013 00:03:24 +0000 (10:03 +1000)
This path is technically executed through config/udev, but having two
messages in the form "config/udev: Adding drm device" makes it appear as if
the udev filters are wrong and it's trying to add the same device twice. In
fact, it's only one device, only added once, but a duplicate log message.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Dave Airlie <airlied@redhat.com>
hw/xfree86/os-support/linux/lnx_platform.c

index 444f8f5..9b92d0c 100644 (file)
@@ -140,8 +140,7 @@ xf86PlatformDeviceProbe(struct OdevAttributes *attribs)
     if (i != xf86_num_platform_devices)
         goto out_free;
 
-    LogMessage(X_INFO, "config/udev: Adding drm device (%s)\n",
-               path);
+    LogMessage(X_INFO, "xfree86: Adding drm device (%s)\n", path);
 
     ret = get_drm_info(attribs, path);
     if (ret == FALSE)