repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
sys
/
arch
/
sun68k
/
stand
/
libsa
/
panic.c
blob
eacbcad353338a87e5a485ed1ec84598aa2dce0e
1
/* $NetBSD: panic.c,v 1.2 2002/05/15 04:07:43 lukem Exp $ */
2
3
4
#include <machine/stdarg.h>
5
#include <stand.h>
6
#include
"libsa.h"
7
8
__dead
void
9
panic
(
const char
*
fmt
, ...)
10
{
11
va_list
ap
;
12
13
va_start
(
ap
,
fmt
);
14
vprintf
(
fmt
,
ap
);
15
putchar
(
'
\n
'
);
16
va_end
(
ap
);
17
breakpoint
();
18
exit
(
0
);
19
}