diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2018-02-15 17:47:14 +0100 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2018-02-15 18:28:41 +0100 |
commit | 2d63748667d0bcfcd9999e4e41f775eba87897a0 (patch) | |
tree | eeff9d8a2122bdc4af7f86d79d82863d3d27d36d | |
parent | 680b4ab43f00b1f635f9359281e13a031d09ad24 (diff) |
Simplify depth 30 "kernel too old" error message
We know it's depth 30, no need to have xf86DrvMsg fill it in.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | src/radeon_kms.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c index b268f7ea..85390e30 100644 --- a/src/radeon_kms.c +++ b/src/radeon_kms.c @@ -1778,8 +1778,7 @@ Bool RADEONPreInit_KMS(ScrnInfoPtr pScrn, int flags) /* Depth 30 only supported since Linux 3.16 / kms driver minor version 39 */ if (pScrn->depth == 30 && info->dri2.pKernelDRMVersion->version_minor < 39) { xf86DrvMsg(pScrn->scrnIndex, X_ERROR, - "Given depth (%d) is not supported. Kernel too old. Needs Linux 3.16+\n", - pScrn->depth); + "Depth 30 is not supported. Kernel too old. Needs Linux 3.16+\n"); return FALSE; } |