diff options
author | 2002-08-08 00:03:00 +0000 | |
---|---|---|
committer | 2002-08-08 00:03:00 +0000 | |
commit | c02b0e7eab45dba428528efbe4190748d9da3ebd (patch) | |
tree | a805e678f2814ce0cdc12efd9fc7a0030b5764d5 | |
parent | dijkstra born, dijkstra died (diff) | |
download | wireguard-openbsd-c02b0e7eab45dba428528efbe4190748d9da3ebd.tar.xz wireguard-openbsd-c02b0e7eab45dba428528efbe4190748d9da3ebd.zip |
Add missing mode argument to open(2); noticed by
Grudge Mason <grudge_mason@hotmail.com>.
Note that this code is not compiled in.
-rw-r--r-- | gnu/usr.bin/binutils/gdb/29k-share/udi/udip2soc.c | 2 |
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 e92dead8e3b..7046a4e8845 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); + f = open(soc_con[cnt].tip_string, O_CREAT, 0600); if (f == -1) continue; |