aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vbe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vbe.c b/vbe.c
index a11b2c2..65d387f 100644
--- a/vbe.c
+++ b/vbe.c
@@ -166,7 +166,8 @@ int get_edid(char *edid)
vbe_get_edid_info(edid);
FreeInt10();
- }
+ } else
+ fprintf(stderr, "you must be root to run this program\n");
return ok ? 128 : 0;
}