summaryrefslogtreecommitdiffstats
path: root/libvo/vo_3dfx.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_3dfx.c')
-rw-r--r--libvo/vo_3dfx.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libvo/vo_3dfx.c b/libvo/vo_3dfx.c
index 266da268be..6751620082 100644
--- a/libvo/vo_3dfx.c
+++ b/libvo/vo_3dfx.c
@@ -490,7 +490,12 @@ static void check_events(void)
static uint32_t preinit(const char *arg)
{
- return 0;
+ if(arg)
+ {
+ printf("vo_3dfx: Unknown subdevice: %s\n",arg);
+ return ENOSYS;
+ }
+ return 0;
}
static uint32_t control(uint32_t request, void *data, ...)