X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=ginge.git;a=blobdiff_plain;f=common%2Ffbdev.c;fp=common%2Ffbdev.c;h=afcd52909cc438b13430dcaf5a62a15409be8baf;hp=069dc6e9c81129159ef383d90ea7ce5d65eef906;hb=4d0451847a77d420284c7fb0f50b1f167c1118ee;hpb=ed233fce977d411ce024631668f1488d0d078d19 diff --git a/common/fbdev.c b/common/fbdev.c index 069dc6e..afcd529 100644 --- a/common/fbdev.c +++ b/common/fbdev.c @@ -64,7 +64,7 @@ struct vout_fbdev *vout_fbdev_init(const char *fbdev_name, int *w, int *h, int n if (fbdev == NULL) return NULL; - fbdev->fd = open(fbdev_name, O_RDWR, 0); + fbdev->fd = open(fbdev_name, O_RDWR); if (fbdev->fd == -1) { fprintf(stderr, "%s: ", fbdev_name); perror("open");