- 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.
diff --git a/monitor_mm.c b/monitor_mm.c
index 17b319c..30c9825 100644
--- a/monitor_mm.c
+++ b/monitor_mm.c
@@ -24,7 +24,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: monitor_mm.c,v 1.5 2002/05/28 16:45:27 stevesk Exp $");
+RCSID("$OpenBSD: monitor_mm.c,v 1.6 2002/06/04 23:05:49 markus Exp $");
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
@@ -91,7 +91,7 @@
fatal("mmap(%lu): %s", (u_long)size, strerror(errnor));
#else
fatal("%s: UsePrivilegeSeparation=yes not supported",
- __FUNCTION__);
+ __func__);
#endif
mm->address = address;
@@ -136,7 +136,7 @@
strerror(errno));
#else
fatal("%s: UsePrivilegeSeparation=yes not supported",
- __FUNCTION__);
+ __func__);
#endif
if (mm->mmalloc == NULL)
xfree(mm);
@@ -151,7 +151,7 @@
address = mm_malloc(mm, size);
if (address == NULL)
- fatal("%s: mm_malloc(%lu)", __FUNCTION__, (u_long)size);
+ fatal("%s: mm_malloc(%lu)", __func__, (u_long)size);
return (address);
}
@@ -300,7 +300,7 @@
struct mm_master *mmold;
struct mmtree rb_free, rb_allocated;
- debug3("%s: Share sync", __FUNCTION__);
+ debug3("%s: Share sync", __func__);
mm = *pmm;
mmold = mm->mmalloc;
@@ -325,7 +325,7 @@
*pmm = mm;
*pmmalloc = mmalloc;
- debug3("%s: Share sync end", __FUNCTION__);
+ debug3("%s: Share sync end", __func__);
}
void