summaryrefslogtreecommitdiff
path: root/distrib/powerpc
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/powerpc
parent4276f3122c07ed72c1edc5fd36a2f4b7ab026ae4 (diff)
msync() has 3 args
Diffstat (limited to 'distrib/powerpc')
-rw-r--r--distrib/powerpc/common/rdsetroot.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/distrib/powerpc/common/rdsetroot.c b/distrib/powerpc/common/rdsetroot.c
index 160ce12420a..14655750ab7 100644
--- a/distrib/powerpc/common/rdsetroot.c
+++ b/distrib/powerpc/common/rdsetroot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rdsetroot.c,v 1.1 1997/10/13 15:35:48 pefo Exp $ */
+/* $OpenBSD: rdsetroot.c,v 1.2 1997/11/26 02:32:28 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);