diff options
Diffstat (limited to 'fbcon.c')
-rw-r--r-- | fbcon.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -127,7 +127,7 @@ static int open_restricted(const char *path, int flags, void *user_data) { int fd; - fd = open(path, flags); + fd = open(path, flags | O_CLOEXEC); if (fd < 0) { fprintf(stderr, "open %s: %s\n", path, strerror(errno)); return fd; |