113397Solagneau/*
213397Solagneau * CDDL HEADER START
313397Solagneau *
413397Solagneau * The contents of this file are subject to the terms of the
513397Solagneau * Common Development and Distribution License (the "License").
613397Solagneau * You may not use this file except in compliance with the License.
713397Solagneau *
813397Solagneau * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
913397Solagneau * or http://www.opensolaris.org/os/licensing.
1013397Solagneau * See the License for the specific language governing permissions
1113397Solagneau * and limitations under the License.
1213397Solagneau *
1313397Solagneau * When distributing Covered Code, include this CDDL HEADER in each
1413397Solagneau * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1513397Solagneau * If applicable, add the following below this CDDL HEADER, with the
1613397Solagneau * fields enclosed by brackets "[]" replaced with your own identifying
1713397Solagneau * information: Portions Copyright [yyyy] [name of copyright owner]
1813397Solagneau *
1913397Solagneau * CDDL HEADER END
2013397Solagneau */
2113397Solagneau
2213397Solagneau/*
2313397Solagneau * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
2413397Solagneau * Use is subject to license terms.
2513397Solagneau */
2613397Solagneau
2713397Solagneau#pragma	ident	"%Z%%M%	%I%	%E% SMI"
2813397Solagneau
2913397Solagneau/*
3013397Solagneau * ASSERTION:
3113397Solagneau *	Flow of ERROR probe
3213397Solagneau *
3313397Solagneau * SECTION: dtrace Provider
3413397Solagneau *
3513397Solagneau */
3613397Solagneau
3713397Solagneau
3813397Solagneau#pragma D option quiet
3913397Solagneau
4013397SolagneauERROR
4113397Solagneau{
4213397Solagneau	printf("Error fired\n");
4313397Solagneau	exit(0);
4413397Solagneau}
4513397Solagneau
4613397SolagneauEND
4713397Solagneau{
48	printf("End fired after exit\n");
49}
50
51BEGIN
52{
53	*(char *)NULL;
54}
55