summaryrefslogtreecommitdiff
path: root/src/i830_sdvo.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-03-13 09:53:35 -0700
committerEric Anholt <eric@anholt.net>2007-03-13 16:59:37 -0700
commit2824ec7ccbf44ba413a6133f735f4a548c73b3cd (patch)
tree9328591679b85ec3773f4ea71d548731492145da /src/i830_sdvo.c
parent1ed3843f73a0d8efa405daff3483ebe70bf6134f (diff)
Fix uninitialized string use in SDVO non-TMDS case.
Diffstat (limited to 'src/i830_sdvo.c')
-rw-r--r--src/i830_sdvo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830_sdvo.c b/src/i830_sdvo.c
index b7cf8436..a3db5176 100644
--- a/src/i830_sdvo.c
+++ b/src/i830_sdvo.c
@@ -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);