# HG changeset patch # User Josef 'Jeff' Sipek # Date 1504545169 -10800 # Mon Sep 04 20:12:49 2017 +0300 # Node ID d7ff619768d39bac25ff110ecf6224c2cdfd422a # Parent ed795967b15105326ed252ceb3def4859f2daeed daemon: initialize libjeffpc before printing the versions This way they end up syslog'd as well. Signed-off-by: Josef 'Jeff' Sipek diff --git a/daemon.c b/daemon.c --- a/daemon.c +++ b/daemon.c @@ -171,11 +171,11 @@ ASSERT0(putenv("TZ=UTC")); + jeffpc_init(&init_ops); + cmn_err(CE_INFO, "blahgd version %s", version_string); cmn_err(CE_INFO, "libjeffpc version %s", jeffpc_version); - jeffpc_init(&init_ops); - ret = config_load((argc >= 2) ? argv[1] : NULL); if (ret) goto out;