diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-07-15 18:46:26 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-07-15 18:46:26 +0000 |
commit | 5619d549cdb1feff11943e1ebdc4704f5890a13e (patch) | |
tree | bf1796ce01edc8e6e76075a276fa316fa1f0e962 /lib/libc | |
parent | 7b3fa100f994425eb4d70a40df0d80427eab91db (diff) |
open gmon.out mode 0644, not 0666
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gmon/gmon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gmon/gmon.c b/lib/libc/gmon/gmon.c index ef38e9484f8..9579d65cf2f 100644 --- a/lib/libc/gmon/gmon.c +++ b/lib/libc/gmon/gmon.c @@ -32,7 +32,7 @@ */ #if !defined(lint) && defined(LIBC_SCCS) -static char rcsid[] = "$OpenBSD: gmon.c,v 1.9 1998/07/05 18:36:52 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: gmon.c,v 1.10 1998/07/15 18:46:25 millert Exp $"; #endif #include <sys/param.h> @@ -212,7 +212,7 @@ _mcleanup() proffile = "gmon.out"; } - fd = open(proffile , O_CREAT|O_TRUNC|O_WRONLY, 0666); + fd = open(proffile , O_CREAT|O_TRUNC|O_WRONLY, 0644); if (fd < 0) { perror( proffile ); return; |