summaryrefslogtreecommitdiff
path: root/usr.sbin/ypserv
diff options
context:
space:
mode:
authorMats O Jansson <maja@cvs.openbsd.org>1997-07-30 12:07:03 +0000
committerMats O Jansson <maja@cvs.openbsd.org>1997-07-30 12:07:03 +0000
commitcfeaa5f121d873079d90ef06b60788b7604d0676 (patch)
tree06bda90b1dc99c2d05d2897ece206747e522a480 /usr.sbin/ypserv
parent461c32db3f2484aa2e99cf88d17746bfd7928917 (diff)
Get ypxfr working again by remove some of the code from previous commit. -moj
Diffstat (limited to 'usr.sbin/ypserv')
-rw-r--r--usr.sbin/ypserv/ypxfr/ypxfr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ypserv/ypxfr/ypxfr.c b/usr.sbin/ypserv/ypxfr/ypxfr.c
index ae39022b9d9..9c228584c92 100644
--- a/usr.sbin/ypserv/ypxfr/ypxfr.c
+++ b/usr.sbin/ypserv/ypxfr/ypxfr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ypxfr.c,v 1.21 1997/07/26 12:02:20 maja Exp $ */
+/* $OpenBSD: ypxfr.c,v 1.22 1997/07/30 12:07:02 maja Exp $ */
/*
* Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se>
@@ -32,7 +32,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$OpenBSD: ypxfr.c,v 1.21 1997/07/26 12:02:20 maja Exp $";
+static char rcsid[] = "$OpenBSD: ypxfr.c,v 1.22 1997/07/30 12:07:02 maja Exp $";
#endif
#include <sys/types.h>
@@ -200,7 +200,7 @@ char *domain;
char *map;
char *temp_map;
{
- return ypdb_open_suf(temp_map, O_RDWR|O_CREAT|O_EXCL, 0444);
+ return ypdb_open_suf(temp_map, O_RDWR, 0444);
}
int