diff options
Diffstat (limited to 'usr/src/cmd/nscd/nscd_smfmonitor.c')
-rw-r--r-- | usr/src/cmd/nscd/nscd_smfmonitor.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/cmd/nscd/nscd_smfmonitor.c b/usr/src/cmd/nscd/nscd_smfmonitor.c index bd2ff958ba..c5d5731ecd 100644 --- a/usr/src/cmd/nscd/nscd_smfmonitor.c +++ b/usr/src/cmd/nscd/nscd_smfmonitor.c @@ -21,6 +21,8 @@ /* * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. + * + * Copyright 2018 Joyent, Inc. */ #include <stdlib.h> @@ -107,6 +109,8 @@ set_smf_state(void *arg) int i; int st; + (void) thr_setname(thr_self(), "set_smf_state"); + /* * the forker nscd needs not monitor the state * of the client services |