cosmetic fix

Xavier Bestel xavier.bestel at free.fr
Tue Jul 29 08:24:37 PDT 2008


Hi guys,

here's an untested fixlet for a minor cosmetic problem in the logfile:
without the patch the log looks like that:

(II) RADEON(0): DPMS capabilities: StandBy Suspend Off(II) RADEON(0):
Supported color encodings: RGB 4:4:4 YCrCb 4:4:4

i.e. the "(II) RADEON(0): " is misplaced.

HTH,
	Xav

diff --git a/hw/xfree86/ddc/print_edid.c b/hw/xfree86/ddc/print_edid.c
index 5e89b40..0dd4bca 100644
--- a/hw/xfree86/ddc/print_edid.c
+++ b/hw/xfree86/ddc/print_edid.c
@@ -148,7 +148,8 @@ print_dpms_features(int scrnIndex, struct disp_features *c,
        }
     } else {
        int enc = c->display_type;
-       xf86DrvMsg(scrnIndex, X_INFO, "\nSupported color encodings: "
+       xf86ErrorF("\n");
+       xf86DrvMsg(scrnIndex, X_INFO, "Supported color encodings: "
                   "RGB 4:4:4 %s%s\n",
                   enc & DISP_YCRCB444 ? "YCrCb 4:4:4 " : "",
                   enc & DISP_YCRCB422 ? "YCrCb 4:2:2" : "");








More information about the xorg mailing list