lib: provide default values for shadow_progname/shadow_logfd

This commit is contained in:
Adam Sampson 2021-12-26 18:21:09 +00:00
parent 9750fd6819
commit 2b0bdef6f9

View File

@ -2,8 +2,8 @@
#include "lib/shadowlog_internal.h" #include "lib/shadowlog_internal.h"
const char *shadow_progname; const char *shadow_progname = "libshadow";
FILE *shadow_logfd; FILE *shadow_logfd = NULL;
void log_set_progname(const char *progname) void log_set_progname(const char *progname)
{ {