summaryrefslogtreecommitdiffstats
path: root/libvo/vo_syncfb.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_syncfb.c')
-rw-r--r--libvo/vo_syncfb.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/libvo/vo_syncfb.c b/libvo/vo_syncfb.c
index 0e788e494a..adb4812dfa 100644
--- a/libvo/vo_syncfb.c
+++ b/libvo/vo_syncfb.c
@@ -28,6 +28,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <errno.h>
#include "config.h"
#include "video_out.h"
@@ -450,7 +451,12 @@ static void check_events(void)
static uint32_t preinit(const char *arg)
{
- return 0;
+ if(arg)
+ {
+ printf("vo_syncfb: Unknown subdevice: %s\n",arg);
+ return ENOSYS;
+ }
+ return 0;
}
static uint32_t control(uint32_t request, void *data, ...)