mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-16 01:30:29 +01:00
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>
This commit is contained in:
parent
eeefecd9df
commit
b6cc489838
1 changed files with 3 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue