err.D_PROTO_LEN.mtatoofew.d revision 211545
179783Sru/*
279783Sru * CDDL HEADER START
379783Sru *
479783Sru * The contents of this file are subject to the terms of the
579783Sru * Common Development and Distribution License (the "License").
679783Sru * You may not use this file except in compliance with the License.
779783Sru *
879783Sru * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
979783Sru * or http://www.opensolaris.org/os/licensing.
1079783Sru * See the License for the specific language governing permissions
1179783Sru * and limitations under the License.
1279783Sru *
1379783Sru * When distributing Covered Code, include this CDDL HEADER in each
1479783Sru * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1579783Sru * If applicable, add the following below this CDDL HEADER, with the
1679783Sru * fields enclosed by brackets "[]" replaced with your own identifying
1779783Sru * information: Portions Copyright [yyyy] [name of copyright owner]
1879783Sru *
1979783Sru * CDDL HEADER END
2079783Sru */
2179783Sru
2279783Sru/*
2379783Sru * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
2479783Sru * Use is subject to license terms.
2579783Sru */
2679783Sru
2779783Sru#pragma	ident	"%Z%%M%	%I%	%E% SMI"
28206622Suqs
2979783Sru
3079783Sru/*
3179783Sru * ASSERTION:
3279783Sru *	mutex_type_adaptive() should handle too few args passed
3379783Sru *
3488509Sdavidc * SECTION: Actions and Subroutines/mutex_type_adaptive()
3579783Sru *
3679783Sru */
3779783Sru
3879783Sru
3979783Srulockstat:kernel:mtx_lock:adaptive-acquire
4079783Sru{
4179783Sru	mutex_type_adaptive();
4279783Sru	exit(1);
4379783Sru}
4479783Sru