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/pc532/floppies/inst-common/inject.c | |
parent | 4276f3122c07ed72c1edc5fd36a2f4b7ab026ae4 (diff) |
msync() has 3 args
Diffstat (limited to 'distrib/pc532/floppies/inst-common/inject.c')
-rw-r--r-- | distrib/pc532/floppies/inst-common/inject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/pc532/floppies/inst-common/inject.c b/distrib/pc532/floppies/inst-common/inject.c index 60d3eb01183..ea1a29df8ce 100644 --- a/distrib/pc532/floppies/inst-common/inject.c +++ b/distrib/pc532/floppies/inst-common/inject.c @@ -27,7 +27,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: inject.c,v 1.2 1996/09/05 21:26:54 deraadt Exp $ + * $Id: inject.c,v 1.3 1997/11/26 02:32:27 deraadt Exp $ */ #include <stdio.h> @@ -117,7 +117,7 @@ main(int argc, char **argv) memcpy(ramdisk, filesys, filesyslen); /* Sync vm/fs and unmap the images */ - msync(kern, kernlen); + msync(kern, kernlen, 0); munmap(kern, kernlen); munmap(filesys, filesyslen); exit(0); |