Fix uninitialized string use in SDVO non-TMDS case.

This commit is contained in:
Eric Anholt 2007-03-13 09:53:35 -07:00
parent 1ed3843f73
commit 2824ec7ccb
1 changed files with 1 additions and 0 deletions

View File

@ -1205,6 +1205,7 @@ i830_sdvo_init(ScrnInfoPtr pScrn, int output_device)
"%s: No active TMDS outputs (0x%02x%02x)\n",
SDVO_NAME(dev_priv),
bytes[0], bytes[1]);
name_prefix="Unknown";
}
strcpy (name, name_prefix);
strcat (name, name_suffix);