diff options
Diffstat (limited to 'vmeta_lib.c')
-rw-r--r-- | vmeta_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vmeta_lib.c b/vmeta_lib.c index e657860..c483754 100644 --- a/vmeta_lib.c +++ b/vmeta_lib.c @@ -378,7 +378,7 @@ SIGN32 vdec_os_driver_init(void) vdec->refcount++; // Try to open the (new) vmeta device - vdec->fd = open("/dev/vmeta", O_RDWR); + vdec->fd = open("/dev/vmeta", O_RDWR | O_CLOEXEC); if (vdec->fd == -1) { ret = -VDEC_OS_DRIVER_OPEN_FAIL; goto err_open_fail; |