diff options
Diffstat (limited to 'src/libfmt/panic.c')
-rw-r--r-- | src/libfmt/panic.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/libfmt/panic.c b/src/libfmt/panic.c deleted file mode 100644 index 25ee277..0000000 --- a/src/libfmt/panic.c +++ /dev/null @@ -1,15 +0,0 @@ -#include "internal.h" - -void -fmt·panic(char *fmt, ...) -{ - char buf[256]; - va_list arg; - - va_start(arg, fmt); - fmt·vesprint(buf, arrend(buf), fmt, arg); - va_end(arg); - - fmt·fprint(2, "%s: %s\n", argv0 ? argv0 : "<prog>", buf); - exits("fatal"); -} |