aboutsummaryrefslogtreecommitdiff
path: root/clog.c
diff options
context:
space:
mode:
Diffstat (limited to 'clog.c')
-rw-r--r--clog.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/clog.c b/clog.c
index af1eff5..802ac26 100644
--- a/clog.c
+++ b/clog.c
@@ -17,6 +17,15 @@ int lprintf(const char *format, ...)
return n;
}
+void lfatalf(const char *format, ...)
+{
+ va_list ap;
+ va_start(ap, format);
+
+ lvfatalf(format, ap);
+ // Can't clean up as lvfatalf ends the process
+}
+
int lvprintf(const char *format, va_list ap)
{
time_t timer = time(NULL);