Mercurial > illumos > illumos-gate
diff usr/src/cmd/svc/startd/method.c @ 1712:c5243b0fd703
6266365 svc.startd tried to use deadbeef
6368315 *librestart* restarter_set_method_context() should handle error code 4 (POE_INVALID_SEARCH)
6388192 "svccfg delete" leaks unconfigured nodes
author | rm88369 |
---|---|
date | Thu, 30 Mar 2006 03:44:20 -0800 |
parents | 7bdce363820e |
children | 80729b9ca1d6 |
line wrap: on
line diff
--- a/usr/src/cmd/svc/startd/method.c Thu Mar 30 02:27:34 2006 -0800 +++ b/usr/src/cmd/svc/startd/method.c Thu Mar 30 03:44:20 2006 -0800 @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -20,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -455,6 +454,11 @@ "is invalid\n", errf); break; + case EINVAL: + (void) fprintf(stderr, "%s: pool name \"%s\" " + "is invalid\n", errf, mcp->resource_pool); + break; + default: #ifndef NDEBUG uu_warn("%s:%d: Bad error %d for function %s "