diff options
author | Bryan Cantrill <bryan@joyent.com> | 2012-05-16 06:36:07 +0000 |
---|---|---|
committer | Bryan Cantrill <bryan@joyent.com> | 2012-05-16 07:18:30 +0000 |
commit | 6bc657f25bf54e23b01628900f2d343c2f0c5cc0 (patch) | |
tree | 59d5746e4199594f1b490de3d00bf6de9054aecc | |
parent | 7a635e6d5cb57d176e79cfb886bfce4479f57026 (diff) | |
download | illumos-joyent-6bc657f25bf54e23b01628900f2d343c2f0c5cc0.tar.gz |
OS-1168 svc.startd should not enable libumem debugging
-rw-r--r-- | usr/src/cmd/svc/startd/startd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/src/cmd/svc/startd/startd.c b/usr/src/cmd/svc/startd/startd.c index f0c57d37eb..a117cc48c8 100644 --- a/usr/src/cmd/svc/startd/startd.c +++ b/usr/src/cmd/svc/startd/startd.c @@ -21,6 +21,7 @@ /* * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, Joyent, Inc. All rights reserved. */ /* @@ -143,6 +144,7 @@ static uint8_t prop_reconfig = 0; pthread_mutexattr_t mutex_attrs; +#ifdef DEBUG const char * _umem_debug_init(void) { @@ -154,6 +156,7 @@ _umem_logging_init(void) { return ("fail,contents"); /* UMEM_LOGGING setting */ } +#endif /* * startd_alloc_retry() |