summaryrefslogtreecommitdiff
path: root/src/i830_hdmi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/i830_hdmi.c')
-rw-r--r--src/i830_hdmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_hdmi.c b/src/i830_hdmi.c
index b738463c..58d1c49a 100644
--- a/src/i830_hdmi.c
+++ b/src/i830_hdmi.c
@@ -229,5 +229,5 @@ i830_hdmi_init(ScrnInfoPtr pScrn, int output_reg)
xf86DrvMsg(pScrn->scrnIndex, X_INFO,
"HDMI output %d detected\n",
- 1 + (output_reg - SDVOB));
+ (output_reg == SDVOB) ? 1 : 2);
}