diff options
author | Thierry Reding <treding@nvidia.com> | 2014-02-13 21:09:49 +0100 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-07-07 16:13:20 -0700 |
commit | b6cc489838dca0bcec7e9dbb4663b871e8cb7bc8 (patch) | |
tree | 49390f8f9d5614ffe8cd5f874114b2ca729c2c1f | |
parent | eeefecd9df88920d4dca4100a84a135f7f53dd82 (diff) |
xfree86: Make error message more readable
While at it also replace a tab by four spaces for consistency.
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
Tested-By: Aaron Plattner <aplattner@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Tested-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | hw/xfree86/os-support/linux/lnx_platform.c | 5 |
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 0aaedab21..d660761c5 100644 --- a/hw/xfree86/os-support/linux/lnx_platform.c +++ b/hw/xfree86/os-support/linux/lnx_platform.c @@ -58,8 +58,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 */ |