diff options
Diffstat (limited to 'usr/src/cmd/svc/configd/configd.h')
-rw-r--r-- | usr/src/cmd/svc/configd/configd.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/usr/src/cmd/svc/configd/configd.h b/usr/src/cmd/svc/configd/configd.h index ff2b450619..4ab5567556 100644 --- a/usr/src/cmd/svc/configd/configd.h +++ b/usr/src/cmd/svc/configd/configd.h @@ -24,6 +24,10 @@ * Use is subject to license terms. */ +/* + * Copyright (c) 2015, Joyent, Inc. All rights reserved. + */ + #ifndef _CONFIGD_H #define _CONFIGD_H @@ -88,14 +92,9 @@ extern "C" { #define CONFIGD_CORE "core.%f.%t.%p" -#ifndef NDEBUG #define bad_error(f, e) \ - uu_warn("%s:%d: %s() returned bad error %d. Aborting.\n", \ - __FILE__, __LINE__, f, e); \ - abort() -#else -#define bad_error(f, e) abort() -#endif + uu_panic("%s:%d: %s() returned bad error %d. Aborting.\n", \ + __FILE__, __LINE__, f, e); typedef enum backend_type { BACKEND_TYPE_NORMAL = 0, |