[PATCH] xfree86: change a log message
Dave Airlie
airlied at gmail.com
Thu Apr 11 16:34:00 PDT 2013
> 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 at who-t.net>
Seems sane,
Reviewed-by: Dave Airlie <airlied at redhat.com>
> ---
> hw/xfree86/os-support/linux/lnx_platform.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/hw/xfree86/os-support/linux/lnx_platform.c b/hw/xfree86/os-support/linux/lnx_platform.c
> index 444f8f5..9b92d0c 100644
> --- a/hw/xfree86/os-support/linux/lnx_platform.c
> +++ b/hw/xfree86/os-support/linux/lnx_platform.c
> @@ -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)
> --
> 1.8.1.4
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
More information about the xorg-devel
mailing list