diff options
Diffstat (limited to 'usr/src/tools/cpcgen/cpcgen.c')
-rw-r--r-- | usr/src/tools/cpcgen/cpcgen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/tools/cpcgen/cpcgen.c b/usr/src/tools/cpcgen/cpcgen.c index 967081dd12..4934fda015 100644 --- a/usr/src/tools/cpcgen/cpcgen.c +++ b/usr/src/tools/cpcgen/cpcgen.c @@ -10,7 +10,7 @@ */ /* - * Copyright 2019, Joyent, Inc. + * Copyright 2019 Joyent, Inc. */ /* @@ -1820,7 +1820,7 @@ cpcgen_gen(int dirfd) "name"); } - if ((fd = openat(dirfd, tmpname, O_RDWR | O_CREAT, 0444)) < 0) { + if ((fd = openat(dirfd, tmpname, O_RDWR | O_CREAT, 0644)) < 0) { err(EXIT_FAILURE, "failed to create temporary file %s", tmpname); } |