summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
Diffstat (limited to 'libvo')
-rw-r--r--libvo/mga_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/mga_common.c b/libvo/mga_common.c
index 2477e4bf8c..cf2d8c19b9 100644
--- a/libvo/mga_common.c
+++ b/libvo/mga_common.c
@@ -397,7 +397,7 @@ static int mga_uninit(){
static uint32_t preinit(const char *vo_subdevice)
{
- char *devname=vo_subdevice?vo_subdevice:"/dev/mga_vid";
+ const char *devname=vo_subdevice?vo_subdevice:"/dev/mga_vid";
f = open(devname,O_RDWR);
if(f == -1)