summaryrefslogtreecommitdiff
path: root/distrib/arc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-26 02:32:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-26 02:32:31 +0000
commitcc6ec4528851e8e3e384776193fb955cd271b581 (patch)
tree2504e0473b56ca19f275bd810a5255718a3984ca /distrib/arc
parent4276f3122c07ed72c1edc5fd36a2f4b7ab026ae4 (diff)
msync() has 3 args
Diffstat (limited to 'distrib/arc')
-rw-r--r--distrib/arc/common/rdsetroot.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/distrib/arc/common/rdsetroot.c b/distrib/arc/common/rdsetroot.c
index 4161293c4ef..f6fc1fad70b 100644
--- a/distrib/arc/common/rdsetroot.c
+++ b/distrib/arc/common/rdsetroot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rdsetroot.c,v 1.2 1997/05/18 13:40:47 pefo Exp $ */
+/* $OpenBSD: rdsetroot.c,v 1.3 1997/11/26 02:32:21 deraadt Exp $ */
/* $NetBSD: rdsetroot.c,v 1.2 1995/10/13 16:38:39 gwr Exp $ */
/*
@@ -153,9 +153,7 @@ main(argc,argv)
exit(1);
}
-#if 0
- msync(dataseg, mmap_size);
-#endif
+ msync(dataseg, mmap_size, 0);
#ifdef DEBUG
printf("...copied %d bytes\n", n);