diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/nginx.c | 2 | ||||
-rw-r--r-- | src/core/ngx_slab.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c index 3a413e84e..da32c1a50 100644 --- a/src/core/nginx.c +++ b/src/core/nginx.c @@ -203,9 +203,7 @@ main(int argc, char *const *argv) ngx_cycle_t *cycle, init_cycle; ngx_core_conf_t *ccf; -#if (NGX_FREEBSD) ngx_debug_init(); -#endif if (ngx_strerror_init() != NGX_OK) { return 1; diff --git a/src/core/ngx_slab.c b/src/core/ngx_slab.c index 870c59bad..9b5b28f2f 100644 --- a/src/core/ngx_slab.c +++ b/src/core/ngx_slab.c @@ -46,10 +46,10 @@ #else -#if (NGX_FREEBSD) +#if (NGX_HAVE_DEBUG_MALLOC) #define ngx_slab_junk(p, size) \ - if (ngx_freebsd_debug_malloc) ngx_memset(p, 0xD0, size) + if (ngx_debug_malloc) ngx_memset(p, 0xD0, size) #else |