summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfgsch <fgsch@openbsd.org>2002-08-08 00:20:12 +0000
committerfgsch <fgsch@openbsd.org>2002-08-08 00:20:12 +0000
commit711f31f23cda821a5175534e7b407ab264da72a4 (patch)
tree376ea0b4e29b50b22e2119b7b01b8c72bb7348d5
parentAdd missing mode argument to open(2); noticed by (diff)
downloadwireguard-openbsd-711f31f23cda821a5175534e7b407ab264da72a4.tar.xz
wireguard-openbsd-711f31f23cda821a5175534e7b407ab264da72a4.zip
bah, use mode 0 here.
-rw-r--r--gnu/usr.bin/binutils/gdb/29k-share/udi/udip2soc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/gdb/29k-share/udi/udip2soc.c b/gnu/usr.bin/binutils/gdb/29k-share/udi/udip2soc.c
index 7046a4e8845..d7c00f4bce1 100644
--- a/gnu/usr.bin/binutils/gdb/29k-share/udi/udip2soc.c
+++ b/gnu/usr.bin/binutils/gdb/29k-share/udi/udip2soc.c
@@ -280,7 +280,7 @@ UDIConnect(Config, Session)
int f;
sprintf(soc_con[cnt].tip_string,"/tmp/U%d", getpid() + pos);
- f = open(soc_con[cnt].tip_string, O_CREAT, 0600);
+ f = open(soc_con[cnt].tip_string, O_CREAT, 0);
if (f == -1)
continue;