X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=ginge.git;a=blobdiff_plain;f=common%2Ffbdev.c;h=afcd52909cc438b13430dcaf5a62a15409be8baf;hp=069dc6e9c81129159ef383d90ea7ce5d65eef906;hb=830ba1bf77492eb259dad9dea3d9531b51376009;hpb=3adc9ccb6566130bde29eeaf5c126f28c57c57d5 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");