diff options
Diffstat (limited to 'src/input/media_helper.c')
-rw-r--r-- | src/input/media_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/media_helper.c b/src/input/media_helper.c index 616793499..1a82a406c 100644 --- a/src/input/media_helper.c +++ b/src/input/media_helper.c @@ -99,7 +99,7 @@ int media_eject_media (xine_t *xine, const char *device) media_umount_media(device); /* printf("input_dvd: umount result: %s\n", strerror(errno)); */ - if ((fd = open_cloexec(device, O_RDONLY|O_NONBLOCK)) > -1) { + if ((fd = xine_open_cloexec(device, O_RDONLY|O_NONBLOCK)) > -1) { #if defined (__linux__) int ret, status; |