diff options
| author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2012-01-04 07:21:37 +0000 |
|---|---|---|
| committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2012-01-04 07:21:37 +0000 |
| commit | 9a492fd1719f97881c4d12533a3ea70380581f31 (patch) | |
| tree | ca35c21ee0da102fc5d41b58a7850ad0f7dafef8 /usr.sbin/uhsoctl | |
| parent | 24bc5224c63574c1a2a3cb46d68accfaf46f655c (diff) | |
Notes
Diffstat (limited to 'usr.sbin/uhsoctl')
| -rw-r--r-- | usr.sbin/uhsoctl/uhsoctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/uhsoctl/uhsoctl.c b/usr.sbin/uhsoctl/uhsoctl.c index 421bf819ea2d..46a9d0aacf7a 100644 --- a/usr.sbin/uhsoctl/uhsoctl.c +++ b/usr.sbin/uhsoctl/uhsoctl.c @@ -455,7 +455,7 @@ set_nameservers(struct ctx *ctx, const char *respath, int ns, ...) free(ctx->ns); } - fd = open(respath, O_RDWR | O_CREAT | O_NOFOLLOW); + fd = open(respath, O_RDWR | O_CREAT | O_NOFOLLOW, 0666); if (fd < 0) return (-1); |
