summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-02-18 23:19:53 +0100
committerAaron Plattner <aplattner@nvidia.com>2014-02-25 14:02:29 -0800
commit319d9c857e7a4c9d3653389e847e5c16fbfb3256 (patch)
tree477205fd849f47f01421970b0c99b27666c402aa
parent30ff35cef51b7aa7ec089c9d813ea45037b508d0 (diff)
xfree86: Make error message more readableoutputclass
While at it also replace a tab by four spaces for consistency. Signed-off-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Aaron Plattner <aplattner@nvidia.com> Tested-By: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
-rw-r--r--hw/xfree86/os-support/linux/lnx_platform.c5
1 files 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 188dc5b76..181474f92 100644
--- a/hw/xfree86/os-support/linux/lnx_platform.c
+++ b/hw/xfree86/os-support/linux/lnx_platform.c
@@ -39,8 +39,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 */