diff --git a/ChangeLog b/ChangeLog index 894570d8d..0ed4118c1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 $ diff --git a/monitor_mm.c b/monitor_mm.c index 30c9825e3..0076c4210 100644 --- a/monitor_mm.c +++ b/monitor_mm.c @@ -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",