[PATCH v2 RESEND 5/5] xfree86: Make error message more readable
Aaron Plattner
aplattner at nvidia.com
Fri Mar 14 08:54:12 PDT 2014
From: Thierry Reding <treding at nvidia.com>
While at it also replace a tab by four spaces for consistency.
Signed-off-by: Thierry Reding <treding at nvidia.com>
Reviewed-by: Aaron Plattner <aplattner at nvidia.com>
Tested-By: Aaron Plattner <aplattner at nvidia.com>
Signed-off-by: Aaron Plattner <aplattner at nvidia.com>
---
hw/xfree86/os-support/linux/lnx_platform.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/hw/xfree86/os-support/linux/lnx_platform.c b/hw/xfree86/os-support/linux/lnx_platform.c
index 9b57e595aff6..5eb7aa45ad95 100644
--- a/hw/xfree86/os-support/linux/lnx_platform.c
+++ b/hw/xfree86/os-support/linux/lnx_platform.c
@@ -61,8 +61,9 @@ get_drm_info(struct OdevAttributes *attribs, char *path, int delayed_index)
err = drmSetInterfaceVersion(fd, &sv);
if (err) {
- ErrorF("setversion 1.4 failed: %s\n", strerror(-err));
- goto out;
+ xf86Msg(X_ERROR, "%s: failed to set DRM interface version 1.4: %s\n",
+ path, strerror(-err));
+ goto out;
}
/* for a delayed probe we've already added the device */
--
1.9.0
More information about the xorg-devel
mailing list