changeset 8792:c2e0f2cd8666

10l
author filon
date Sun, 05 Jan 2003 11:30:39 +0000
parents 668b30187d48
children 63e2ab74e0a6
files libvo/vo_vesa.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_vesa.c	Sun Jan 05 11:24:13 2003 +0000
+++ b/libvo/vo_vesa.c	Sun Jan 05 11:30:39 2003 +0000
@@ -1025,6 +1025,8 @@
   fd = open("/dev/mem", O_RDWR);
   if (fd < 0)
   	return -1;
+  else
+  	close(fd);
   if(verbose > 2)
         printf("vo_subdevice: initialization returns: %i\n",pre_init_err);
   return pre_init_err;