diff options
author | Kay Sievers <kay@vrfy.org> | 2012-07-05 17:33:24 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-07-05 17:33:24 +0200 |
commit | 47ef94ac5f39db6c5c18be10afe32397a0a8d5cc (patch) | |
tree | 2a6872d28ae5d6c7f4b7a73a9765dccace762e03 /src/libudev | |
parent | daa9cf546ce7265645ced9592dd54c6b2fc04302 (diff) |
udev: add some O_CLOEXEC
Diffstat (limited to 'src/libudev')
-rw-r--r-- | src/libudev/libudev-queue-private.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libudev/libudev-queue-private.c b/src/libudev/libudev-queue-private.c index 3df99bef3a..367395d984 100644 --- a/src/libudev/libudev-queue-private.c +++ b/src/libudev/libudev-queue-private.c @@ -212,7 +212,7 @@ static int rebuild_queue_file(struct udev_queue_export *udev_queue_export) } /* create new queue file */ - new_queue_file = fopen("/run/udev/queue.tmp", "w+"); + new_queue_file = fopen("/run/udev/queue.tmp", "w+e"); if (new_queue_file == NULL) goto error; seqnum = udev_queue_export->seqnum_max; |