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/sun3/common | |
parent | 4276f3122c07ed72c1edc5fd36a2f4b7ab026ae4 (diff) |
msync() has 3 args
Diffstat (limited to 'distrib/sun3/common')
-rw-r--r-- | distrib/sun3/common/rdsetroot.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/distrib/sun3/common/rdsetroot.c b/distrib/sun3/common/rdsetroot.c index c9f47e56903..cda58d37a40 100644 --- a/distrib/sun3/common/rdsetroot.c +++ b/distrib/sun3/common/rdsetroot.c @@ -26,7 +26,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: rdsetroot.c,v 1.2 1996/09/05 21:27:30 deraadt Exp $ + * $Id: rdsetroot.c,v 1.3 1997/11/26 02:32:30 deraadt Exp $ */ /* @@ -163,11 +163,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); |