changeset 7676:711b3d844c47

preinit() has an arg... use it.
author arpi
date Wed, 09 Oct 2002 00:52:15 +0000
parents f78dc7d40730
children 33562a65e9e8
files libvo/mga_common.c libvo/vo_fbdev.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/mga_common.c	Wed Oct 09 00:51:04 2002 +0000
+++ b/libvo/mga_common.c	Wed Oct 09 00:52:15 2002 +0000
@@ -355,7 +355,7 @@
   return 0;
 }
 
-static uint32_t preinit(const char *arg)
+static uint32_t preinit(const char *vo_subdevice)
 {
   char *devname=vo_subdevice?vo_subdevice:"/dev/mga_vid";
 
@@ -363,7 +363,7 @@
 	if(f == -1)
 	{
 		perror("open");
-		printf("Couldn't open %s\n",devname); 
+		printf("vo_mga: Couldn't open %s\n",devname);
 		return(-1);
 	}
   return 0;
--- a/libvo/vo_fbdev.c	Wed Oct 09 00:51:04 2002 +0000
+++ b/libvo/vo_fbdev.c	Wed Oct 09 00:52:15 2002 +0000
@@ -1274,7 +1274,7 @@
 #endif
 }
 
-static uint32_t preinit(const char *arg)
+static uint32_t preinit(const char *vo_subdevice)
 {
     pre_init_err = 0;
 #ifdef CONFIG_VIDIX