daemon: initialize libjeffpc before printing the versions This way they end up syslog'd as well. Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
1 files changed, 2 insertions(+), 2 deletions(-) M daemon.c
M daemon.c +2 -2
@@ 171,11 171,11 @@ int main(int argc, char **argv) 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;