diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-05-11 19:01:44 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-05-11 19:01:44 +0000 |
commit | 864be3f922476a5c2cc5e3ec42c6881063ce787f (patch) | |
tree | d5f2fcc19905bc234c22d2a7e59c30969afd184c /usr.bin/ssh/monitor_mm.c | |
parent | e58c86ca6a450ac471b70aba4aadaa52d0b1aaa3 (diff) |
improve some code lint did not like; djm millert ok
Diffstat (limited to 'usr.bin/ssh/monitor_mm.c')
-rw-r--r-- | usr.bin/ssh/monitor_mm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/monitor_mm.c b/usr.bin/ssh/monitor_mm.c index 6eb84041a25..db722e1ae2d 100644 --- a/usr.bin/ssh/monitor_mm.c +++ b/usr.bin/ssh/monitor_mm.c @@ -24,7 +24,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: monitor_mm.c,v 1.8 2002/08/02 14:43:15 millert Exp $"); +RCSID("$OpenBSD: monitor_mm.c,v 1.9 2004/05/11 19:01:43 deraadt Exp $"); #include <sys/mman.h> @@ -90,7 +90,7 @@ mm_create(struct mm_master *mmalloc, size_t size) mm->mmalloc = mmalloc; address = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_ANON|MAP_SHARED, - -1, 0); + -1, (off_t)0); if (address == MAP_FAILED) fatal("mmap(%lu): %s", (u_long)size, strerror(errno)); |