diff --git a/main.c b/main.c index 6dcd691..48fe9da 100644 --- a/main.c +++ b/main.c @@ -93,7 +93,7 @@ main(int argc, char * argv[]) /* Log a few helpful facts about this Petidomo instance. */ syslog(LOG_DEBUG, "%s starting up; mode=%s, listname=%s, masterconf=%s, approved=%s, ruid=%d, euid=%d, gid=%d, egid=%d", - petidomo_version.v_gnu, mode, listname, masterconfig_path, (g_is_approved) ? "true" : "false", + petidomo_version.v_gnu, mode, (listname != NULL ? listname : ""), masterconfig_path, (g_is_approved) ? "true" : "false", getuid(), geteuid(), getgid(), getegid()); /* Init Petidomo's internal stuff. */