summaryrefslogtreecommitdiffstats
path: root/monitor_mm.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-07 03:57:25 +0200
committerBen Lindstrom <mouring@eviladmin.org>2002-06-07 03:57:25 +0200
commit4eeccc79f6c7fe15df0b5cbe7eec0e5ea37e4f49 (patch)
treee9b12b4f1d8540ef447492e899557875ae077bd2 /monitor_mm.c
parent- (bal) Forgot to add msg.c Makefile.in. (diff)
downloadopenssh-4eeccc79f6c7fe15df0b5cbe7eec0e5ea37e4f49.tar.xz
openssh-4eeccc79f6c7fe15df0b5cbe7eec0e5ea37e4f49.zip
- (bal) monitor_mm.c typos.
Diffstat (limited to 'monitor_mm.c')
-rw-r--r--monitor_mm.c4
1 files changed, 2 insertions, 2 deletions
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",