- (bal) monitor_mm.c typos.

This commit is contained in:
Ben Lindstrom 2002-06-07 01:57:25 +00:00
parent 88d26ed408
commit 4eeccc79f6
2 changed files with 4 additions and 3 deletions

View File

@ -132,6 +132,7 @@
use get_int() macro (hide iqueue)
- (bal) Missed msg.[ch] in merge. Required for ssh-keysign.
- (bal) Forgot to add msg.c Makefile.in.
- (bal) monitor_mm.c typos.
20020604
- (stevesk) [channels.c] bug #164 patch from YOSHIFUJI Hideaki (changed
@ -816,4 +817,4 @@
- (stevesk) entropy.c: typo in debug message
- (djm) ssh-keygen -i needs seeded RNG; report from markus@
$Id: ChangeLog,v 1.2181 2002/06/07 01:53:59 mouring Exp $
$Id: ChangeLog,v 1.2182 2002/06/07 01:57:25 mouring Exp $

View File

@ -88,7 +88,7 @@ mm_create(struct mm_master *mmalloc, size_t size)
address = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_ANON|MAP_SHARED,
-1, 0);
if (address == MAP_FAILED)
fatal("mmap(%lu): %s", (u_long)size, strerror(errnor));
fatal("mmap(%lu): %s", (u_long)size, strerror(errno));
#else
fatal("%s: UsePrivilegeSeparation=yes not supported",
__func__);
@ -132,7 +132,7 @@ mm_destroy(struct mm_master *mm)
#ifdef HAVE_MMAP
if (munmap(mm->address, mm->size) == -1)
fatal("munmap(%p, %lu): %s", mm->address, (u_long)mm->size
fatal("munmap(%p, %lu): %s", mm->address, (u_long)mm->size,
strerror(errno));
#else
fatal("%s: UsePrivilegeSeparation=yes not supported",