repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
include: reduce default stack size
[minix.git]
/
commands
/
service
/
util.c
blob
6a36a8dadf31be59443bdc7cb8784441d4a3cda4
1
2
#include <stdarg.h>
3
#include <stdio.h>
4
#include <stdlib.h>
5
6
void
fatal
(
char
*
fmt
, ...)
7
{
8
va_list
ap
;
9
10
fprintf
(
stderr
,
"fatal error: "
);
11
va_start
(
ap
,
fmt
);
12
vfprintf
(
stderr
,
fmt
,
ap
);
13
va_end
(
ap
);
14
fprintf
(
stderr
,
"
\n
"
);
15
16
exit
(
1
);
17
}