source:
trunk/athena/etc/synctree/err.c
@
11479
Revision 11479, 237 bytes checked in by ghudson, 27 years ago (diff) | |
---|---|
|
Line | |
---|---|
1 | #include <stdio.h> |
2 | #include <string.h> |
3 | #include <errno.h> |
4 | |
5 | panic(s) |
6 | char *s; |
7 | { fprintf(stderr,"Fatal error: %s\n",s); |
8 | exit(1); |
9 | } |
10 | epanic(s) |
11 | char *s; |
12 | { fprintf(stderr, "Fatal error: %s: %s\n", s, strerror(errno)); |
13 | exit(1); |
14 | } |
Note: See TracBrowser
for help on using the repository browser.