diff options
author | dg <dg@FreeBSD.org> | 1995-03-25 17:44:03 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-03-25 17:44:03 +0000 |
commit | 1648fcf733da7213346622ca70fd9a136dc7a6d7 (patch) | |
tree | d19862d12a7541f680617397a289797838444edf /sys/vm | |
parent | fcc9f4c4df2ea7053c85be44833322e1c12d8b0f (diff) | |
download | FreeBSD-src-1648fcf733da7213346622ca70fd9a136dc7a6d7.zip FreeBSD-src-1648fcf733da7213346622ca70fd9a136dc7a6d7.tar.gz |
Fix logic bug I just introduced with the flags to msync().
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_mmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_mmap.c b/sys/vm/vm_mmap.c index 66167de..9e1174c 100644 --- a/sys/vm/vm_mmap.c +++ b/sys/vm/vm_mmap.c @@ -38,7 +38,7 @@ * from: Utah $Hdr: vm_mmap.c 1.6 91/10/21$ * * @(#)vm_mmap.c 8.4 (Berkeley) 1/12/94 - * $Id: vm_mmap.c,v 1.19 1995/03/25 16:55:46 davidg Exp $ + * $Id: vm_mmap.c,v 1.20 1995/03/25 17:36:00 davidg Exp $ */ /* @@ -361,7 +361,7 @@ msync(p, uap, retval) /* * Clean the pages and interpret the return value. */ - rv = vm_map_clean(map, addr, addr + size, (flags & MS_ASYNC) != 0, + rv = vm_map_clean(map, addr, addr + size, (flags & MS_ASYNC) == 0, (flags & MS_INVALIDATE) != 0); switch (rv) { |