aboutsummaryrefslogtreecommitdiff
path: root/secmem/secmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'secmem/secmem.c')
-rw-r--r--secmem/secmem.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/secmem/secmem.c b/secmem/secmem.c
index 796108d..fc9ac2f 100644
--- a/secmem/secmem.c
+++ b/secmem/secmem.c
@@ -58,21 +58,21 @@ typedef union {
#define log_error log_info
#define log_bug log_fatal
-void
+void
log_info(char *template, ...)
{
va_list args;
-
+
va_start(args, template);
vfprintf(stderr, template, args);
va_end(args);
}
-void
+void
log_fatal(char *template, ...)
{
va_list args;
-
+
va_start(args, template);
vfprintf(stderr, template, args);
va_end(args);
bgstack15