summaryrefslogtreecommitdiffstats
path: root/ddcprobe
diff options
context:
space:
mode:
authornalin <nalin>1999-08-24 19:01:20 +0000
committernalin <nalin>1999-08-24 19:01:20 +0000
commit1e51fe429e60735cc44200f24b2a10f3784e6205 (patch)
tree0cb1b5d57decdd603deb8412d4bd9ea92c679350 /ddcprobe
parentf36a386c3bf80418d408a3f1a2ffc23b6232c80f (diff)
downloadanaconda-1e51fe429e60735cc44200f24b2a10f3784e6205.tar.gz
anaconda-1e51fe429e60735cc44200f24b2a10f3784e6205.tar.xz
anaconda-1e51fe429e60735cc44200f24b2a10f3784e6205.zip
change text message
Diffstat (limited to 'ddcprobe')
-rw-r--r--ddcprobe/ddcprobe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ddcprobe/ddcprobe.c b/ddcprobe/ddcprobe.c
index 32b96d4c3..a0e612a8d 100644
--- a/ddcprobe/ddcprobe.c
+++ b/ddcprobe/ddcprobe.c
@@ -92,8 +92,8 @@ int main(int argc, char **argv)
edid_info = vbe_get_edid_info();
/* Interpret results. */
- if(edid_info == NULL) {
- printf("EDID failed. (No DDC-capable monitor attached?)\n");
+ if((edid_info == NULL) || (edid_info->version == 0)) {
+ printf("EDID read failed. (No DDC-capable monitor attached?)\n");
exit(0);
}