aboutsummaryrefslogtreecommitdiff
path: root/clog.c
diff options
context:
space:
mode:
Diffstat (limited to 'clog.c')
-rw-r--r--clog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clog.c b/clog.c
index 77addf9..ebe2d6a 100644
--- a/clog.c
+++ b/clog.c
@@ -11,13 +11,13 @@ int lprintf(const char *format, ...)
va_list ap;
va_start(ap, format);
- int n = vlprintf(format, ap);
+ int n = lvprintf(format, ap);
va_end(ap);
return n;
}
-int vlprintf(const char *format, va_list ap)
+int lvprintf(const char *format, va_list ap)
{
time_t timer = time(NULL);
struct tm *tm_info = localtime(&timer);