From 8378be03d1dd260fda325c15fb047da8ddd12c1c Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 6 Dec 2012 12:49:13 +0000 Subject: [PATCH] Fix argument order in a log statement. --- server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.c b/server.c index bad22270..a3632ad7 100644 --- a/server.c +++ b/server.c @@ -166,7 +166,7 @@ server_start(int lockfd, char *lockfile) load_cfg(SYSTEM_CFG, NULL, &cfg_causes); else if (errno != ENOENT) { cfg_add_cause( - &cfg_causes, "%s: %s", strerror(errno), SYSTEM_CFG); + &cfg_causes, "%s: %s", SYSTEM_CFG, strerror(errno)); } if (cfg_file != NULL) load_cfg(cfg_file, NULL, &cfg_causes);