diff options
author | Chris Rankin <rankincj@yahoo.com> | 2011-10-03 12:38:45 +0100 |
---|---|---|
committer | Chris Rankin <rankincj@yahoo.com> | 2011-10-03 12:38:45 +0100 |
commit | a39a950269d165f18448cc7d6da691bf14b9e03b (patch) | |
tree | 2ff0626b06e3e87cb9f3d7678af4859b5d65b594 /src/input/media_helper.c | |
parent | cba782a23ee5c9c668e02f9c6d95acba70464d18 (diff) | |
download | xine-lib-a39a950269d165f18448cc7d6da691bf14b9e03b.tar.gz xine-lib-a39a950269d165f18448cc7d6da691bf14b9e03b.tar.bz2 |
Prefix open_cloexec() and create_cloexec() with xine_, and add new xine_socket_cloexec() function.
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; |