diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-11-26 02:32:31 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-11-26 02:32:31 +0000 |
commit | cc6ec4528851e8e3e384776193fb955cd271b581 (patch) | |
tree | 2504e0473b56ca19f275bd810a5255718a3984ca /distrib/powerpc/common | |
parent | 4276f3122c07ed72c1edc5fd36a2f4b7ab026ae4 (diff) |
msync() has 3 args
Diffstat (limited to 'distrib/powerpc/common')
-rw-r--r-- | distrib/powerpc/common/rdsetroot.c | 6 |
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); |