diff options
Diffstat (limited to 'src/video_out')
-rw-r--r-- | src/video_out/video_out_fb.c | 6 | ||||
-rw-r--r-- | src/video_out/video_out_pgx64.c | 2 | ||||
-rw-r--r-- | src/video_out/video_out_vidix.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/video_out/video_out_fb.c b/src/video_out/video_out_fb.c index da6dbd8ce..cfc5cf3a6 100644 --- a/src/video_out/video_out_fb.c +++ b/src/video_out/video_out_fb.c @@ -808,17 +808,17 @@ static int open_fb_device(config_values_t *config, xine_t *xine) XINE_CONFIG_SECURITY, NULL, NULL); if(strlen(device_name) > 3) { - fd = open_cloexec(device_name, O_RDWR); + fd = xine_open_cloexec(device_name, O_RDWR); } else { device_name = "/dev/fb1"; - fd = open_cloexec(device_name, O_RDWR); + fd = xine_open_cloexec(device_name, O_RDWR); if(fd < 0) { device_name = "/dev/fb0"; - fd = open_cloexec(device_name, O_RDWR); + fd = xine_open_cloexec(device_name, O_RDWR); } } diff --git a/src/video_out/video_out_pgx64.c b/src/video_out/video_out_pgx64.c index e3d8b4746..7c82f6145 100644 --- a/src/video_out/video_out_pgx64.c +++ b/src/video_out/video_out_pgx64.c @@ -292,7 +292,7 @@ static int setup_dga(pgx64_driver_t *this) devname = dga_draw_devname(this->dgadraw); DGA_DRAW_UNLOCK(this->dgadraw); - if ((this->devfd = open_cloexec(devname, O_RDWR)) < 0) { + if ((this->devfd = xine_open_cloexec(devname, O_RDWR)) < 0) { xprintf(this->class->xine, XINE_VERBOSITY_LOG, _("video_out_pgx64: Error: can't open framebuffer device '%s'\n"), devname); XDgaUnGrabDrawable(this->dgadraw); XUnlockDisplay(this->display); diff --git a/src/video_out/video_out_vidix.c b/src/video_out/video_out_vidix.c index 143d41234..41406fb58 100644 --- a/src/video_out/video_out_vidix.c +++ b/src/video_out/video_out_vidix.c @@ -1245,7 +1245,7 @@ static vo_driver_t *vidixfb_open_plugin (video_driver_class_t *class_gen, const XINE_CONFIG_SECURITY, NULL, NULL); /* Open fb device for reading */ - if((fd = open_cloexec("/dev/fb0", O_RDONLY)) < 0) { + if((fd = xine_open_cloexec("/dev/fb0", O_RDONLY)) < 0) { xprintf(this->xine, XINE_VERBOSITY_DEBUG, "video_out_vidix: unable to open frame buffer device \"%s\": %s\n", device, strerror(errno)); return NULL; |