diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-07-12 14:55:31 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-07-12 14:55:31 +0000 |
commit | 2985bb8c4d2935579b6f33d616fd644b7e69b2eb (patch) | |
tree | 4bf2f043d4b105a94801802af048e325021839d4 | |
parent | b7fd6792c30d1447f091f7ddfd2b78f69be71bf6 (diff) | |
download | monitor-edid-2985bb8c4d2935579b6f33d616fd644b7e69b2eb.tar monitor-edid-2985bb8c4d2935579b6f33d616fd644b7e69b2eb.tar.gz monitor-edid-2985bb8c4d2935579b6f33d616fd644b7e69b2eb.tar.bz2 monitor-edid-2985bb8c4d2935579b6f33d616fd644b7e69b2eb.tar.xz monitor-edid-2985bb8c4d2935579b6f33d616fd644b7e69b2eb.zip |
fix a segfault occuring on some boxes in monitor-get-edid-using-vbe, when using try-in-console
(was committed in CVS instead of SVN)
-rw-r--r-- | vbe.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -294,10 +294,10 @@ int get_edid(char *edid) (box_is_xbox() || vbe_check_vbe_info()) && vbe_get_edid_info(edid); - FreeInt10(); #ifdef LRMI if (!ok) ok = get_edid__old(edid); #endif + FreeInt10(); } else if (getuid() != 0) fprintf(stderr, "you must be root to run this program\n"); |