diff options
author | John Levon <john.levon@joyent.com> | 2018-10-15 14:57:13 +0000 |
---|---|---|
committer | John Levon <john.levon@joyent.com> | 2018-10-15 14:57:13 +0000 |
commit | f5733417953d12d5f4b44353b59c3b14f13696c2 (patch) | |
tree | 3e8c4bc1ee61164386f7dfc70c4b8b760731d843 /usr/src/cmd/svc/startd/method.c | |
parent | 8bd1e5ed2443eb501ddfba4147e769b6d0074ef3 (diff) | |
parent | f35f236324c07bf560ad6481307ea93b1261d636 (diff) | |
download | illumos-joyent-gcc-update.tar.gz |
Merge remote-tracking branch 'ctf/OS-7275' into gcc-updategcc-update
Diffstat (limited to 'usr/src/cmd/svc/startd/method.c')
-rw-r--r-- | usr/src/cmd/svc/startd/method.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/cmd/svc/startd/method.c b/usr/src/cmd/svc/startd/method.c index c3cd0144c1..1d8ffaa2b6 100644 --- a/usr/src/cmd/svc/startd/method.c +++ b/usr/src/cmd/svc/startd/method.c @@ -21,7 +21,7 @@ /* * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. - * Copyright 2012 Joyent, Inc. All rights reserved. + * Copyright 2018 Joyent, Inc. */ /* @@ -1135,6 +1135,8 @@ method_thread(void *arg) boolean_t retryable; restarter_str_t reason; + (void) pthread_setname_np(pthread_self(), "method"); + assert(0 <= info->sf_method_type && info->sf_method_type <= 2); /* Get (and lock) the restarter_inst_t. */ |