# HG changeset patch # User arpi # Date 1034124735 0 # Node ID 711b3d844c474fff884e8d21383267dc95322daf # Parent f78dc7d4073027d38c2012ffa0be3aed904666d5 preinit() has an arg... use it. diff -r f78dc7d40730 -r 711b3d844c47 libvo/mga_common.c --- 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; diff -r f78dc7d40730 -r 711b3d844c47 libvo/vo_fbdev.c --- 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