err.D_PROTO_ARG.mobadarg.d revision 2633:71bab08d24b2
1168754Sbushman/*
2168754Sbushman * CDDL HEADER START
3168754Sbushman *
4168754Sbushman * The contents of this file are subject to the terms of the
5168754Sbushman * Common Development and Distribution License (the "License").
6168754Sbushman * You may not use this file except in compliance with the License.
7168754Sbushman *
8168754Sbushman * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9168754Sbushman * or http://www.opensolaris.org/os/licensing.
10168754Sbushman * See the License for the specific language governing permissions
11168754Sbushman * and limitations under the License.
12168754Sbushman *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21
22/*
23 * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
24 * Use is subject to license terms.
25 */
26
27#pragma	ident	"%Z%%M%	%I%	%E% SMI"
28
29/*
30 * ASSERTION:
31 *	mutex_owned() should handle an invalid argument passed.
32 *
33 * SECTION: Actions and Subroutines/mutex_owned()
34 *
35 */
36
37#pragma	ident	"%Z%%M%	%I%	%E% SMI"
38
39BEGIN
40{
41	mutex_owned("badarg");
42	exit(1);
43}
44