summaryrefslogtreecommitdiff
path: root/monitor_mm.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-06 21:40:51 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-06-06 21:40:51 +0000
commit7d9c38f37ae608265c3f7fa2f87795419afe6069 (patch)
tree621c8078e155f13b2251f7bc0df2b36333314128 /monitor_mm.c
parent3dca4f55f20cb62c8cfc5d050027a49bf3590b55 (diff)
- markus@cvs.openbsd.org 2002/06/04 23:05:49
[cipher.c monitor.c monitor_fdpass.c monitor_mm.c monitor_wrap.c] __FUNCTION__ -> __func__ NOTE: This includes all portable references also.
Diffstat (limited to 'monitor_mm.c')
-rw-r--r--monitor_mm.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/monitor_mm.c b/monitor_mm.c
index 17b319cce..30c9825e3 100644
--- a/monitor_mm.c
+++ b/monitor_mm.c
@@ -24,7 +24,7 @@
24 */ 24 */
25 25
26#include "includes.h" 26#include "includes.h"
27RCSID("$OpenBSD: monitor_mm.c,v 1.5 2002/05/28 16:45:27 stevesk Exp $"); 27RCSID("$OpenBSD: monitor_mm.c,v 1.6 2002/06/04 23:05:49 markus Exp $");
28 28
29#ifdef HAVE_SYS_MMAN_H 29#ifdef HAVE_SYS_MMAN_H
30#include <sys/mman.h> 30#include <sys/mman.h>
@@ -91,7 +91,7 @@ mm_create(struct mm_master *mmalloc, size_t size)
91 fatal("mmap(%lu): %s", (u_long)size, strerror(errnor)); 91 fatal("mmap(%lu): %s", (u_long)size, strerror(errnor));
92#else 92#else
93 fatal("%s: UsePrivilegeSeparation=yes not supported", 93 fatal("%s: UsePrivilegeSeparation=yes not supported",
94 __FUNCTION__); 94 __func__);
95#endif 95#endif
96 96
97 mm->address = address; 97 mm->address = address;
@@ -136,7 +136,7 @@ mm_destroy(struct mm_master *mm)
136 strerror(errno)); 136 strerror(errno));
137#else 137#else
138 fatal("%s: UsePrivilegeSeparation=yes not supported", 138 fatal("%s: UsePrivilegeSeparation=yes not supported",
139 __FUNCTION__); 139 __func__);
140#endif 140#endif
141 if (mm->mmalloc == NULL) 141 if (mm->mmalloc == NULL)
142 xfree(mm); 142 xfree(mm);
@@ -151,7 +151,7 @@ mm_xmalloc(struct mm_master *mm, size_t size)
151 151
152 address = mm_malloc(mm, size); 152 address = mm_malloc(mm, size);
153 if (address == NULL) 153 if (address == NULL)
154 fatal("%s: mm_malloc(%lu)", __FUNCTION__, (u_long)size); 154 fatal("%s: mm_malloc(%lu)", __func__, (u_long)size);
155 return (address); 155 return (address);
156} 156}
157 157
@@ -300,7 +300,7 @@ mm_share_sync(struct mm_master **pmm, struct mm_master **pmmalloc)
300 struct mm_master *mmold; 300 struct mm_master *mmold;
301 struct mmtree rb_free, rb_allocated; 301 struct mmtree rb_free, rb_allocated;
302 302
303 debug3("%s: Share sync", __FUNCTION__); 303 debug3("%s: Share sync", __func__);
304 304
305 mm = *pmm; 305 mm = *pmm;
306 mmold = mm->mmalloc; 306 mmold = mm->mmalloc;
@@ -325,7 +325,7 @@ mm_share_sync(struct mm_master **pmm, struct mm_master **pmmalloc)
325 *pmm = mm; 325 *pmm = mm;
326 *pmmalloc = mmalloc; 326 *pmmalloc = mmalloc;
327 327
328 debug3("%s: Share sync end", __FUNCTION__); 328 debug3("%s: Share sync end", __func__);
329} 329}
330 330
331void 331void