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/common/rdsetroot.c | |
parent | 4276f3122c07ed72c1edc5fd36a2f4b7ab026ae4 (diff) |
msync() has 3 args
Diffstat (limited to 'distrib/common/rdsetroot.c')
-rw-r--r-- | distrib/common/rdsetroot.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/distrib/common/rdsetroot.c b/distrib/common/rdsetroot.c index a437a63a61b..b0e66677c72 100644 --- a/distrib/common/rdsetroot.c +++ b/distrib/common/rdsetroot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rdsetroot.c,v 1.3 1997/05/16 20:59:45 niklas Exp $ */ +/* $OpenBSD: rdsetroot.c,v 1.4 1997/11/26 02:32:23 deraadt Exp $ */ /* $NetBSD: rdsetroot.c,v 1.2 1995/10/13 16:38:39 gwr Exp $ */ /* @@ -172,11 +172,7 @@ main(argc,argv) exit(1); } - msync(dataseg - data_pgoff, data_len -#ifdef sun - ,0 -#endif - ); + msync(dataseg - data_pgoff, data_len, 0); #ifdef DEBUG printf("...copied %d bytes\n", n); |