summaryrefslogtreecommitdiff
path: root/distrib/i386
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/i386
parent4276f3122c07ed72c1edc5fd36a2f4b7ab026ae4 (diff)
msync() has 3 args
Diffstat (limited to 'distrib/i386')
-rw-r--r--distrib/i386/floppies/common/rdsetroot.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/distrib/i386/floppies/common/rdsetroot.c b/distrib/i386/floppies/common/rdsetroot.c
index 5e43390413d..194dcf0b348 100644
--- a/distrib/i386/floppies/common/rdsetroot.c
+++ b/distrib/i386/floppies/common/rdsetroot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rdsetroot.c,v 1.1 1997/04/13 17:17:46 mickey Exp $ */
+/* $OpenBSD: rdsetroot.c,v 1.2 1997/11/26 02:32:24 deraadt Exp $ */
/* $NetBSD: rdsetroot.c,v 1.2 1995/10/13 16:38:39 gwr Exp $ */
/*
@@ -162,11 +162,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);