summaryrefslogtreecommitdiff
path: root/src/log.c
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2021-10-31 22:16:40 +0000
committerPhil Jones <philj56@gmail.com>2021-10-31 23:12:07 +0000
commit6f199dc746bd377223e9bec60467c9060d1048ff (patch)
treeacce570009d48e3efa6a1232c37070c1e0f456c8 /src/log.c
parent7297ac5d9cac676ed6cd4552a6b47204f9db2512 (diff)
Add actual greetd functionality.
Useable, but very barebones — not even any error message reporting.
Diffstat (limited to 'src/log.c')
-rw-r--r--src/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log.c b/src/log.c
index a27bc6c..9b8b56e 100644
--- a/src/log.c
+++ b/src/log.c
@@ -29,7 +29,7 @@ void log_debug(const char *const fmt, ...)
va_list args;
va_start(args, fmt);
fprintf(stderr, "[%ld.%03ld][DEBUG]: ", t.tv_sec, t.tv_nsec / 1000000);
- vprintf(fmt, args);
+ vfprintf(stderr, fmt, args);
va_end(args);
}