diff options
author | Matt Wilson <msw@redhat.com> | 2000-07-18 22:39:34 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-07-18 22:39:34 +0000 |
commit | 197cfc33a773150f8c0d3b7a87420d9c1e4108b5 (patch) | |
tree | a11ddbeb618cde0304a727fad2ea89b6c4284c16 /ddcprobe | |
parent | 28c1b29e83ed9e39be7343c16f1a41664cbfd40c (diff) | |
download | anaconda-197cfc33a773150f8c0d3b7a87420d9c1e4108b5.tar.gz anaconda-197cfc33a773150f8c0d3b7a87420d9c1e4108b5.tar.xz anaconda-197cfc33a773150f8c0d3b7a87420d9c1e4108b5.zip |
bail if we have bogus datakudzu-r0-66
Diffstat (limited to 'ddcprobe')
-rw-r--r-- | ddcprobe/ddcprobe.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ddcprobe/ddcprobe.c b/ddcprobe/ddcprobe.c index d590b5e93..48b4afd64 100644 --- a/ddcprobe/ddcprobe.c +++ b/ddcprobe/ddcprobe.c @@ -103,6 +103,12 @@ int main(int argc, char **argv) exit(0); } + if ((edid_info->version == 0xff && edid_info->revision == 0xff) + || (edid_info->version == 0 && edid_info->revision == 0)) { + printf("EDID read failed, returned empty data\n"); + exit(0); + } + printf("EDID ver. %d rev. %d.\n", edid_info->version, edid_info->revision); |