From bdd78311f7beefbfe3c68101e1d6ac0853ade65e Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 6 Dec 2012 12:49:14 +0000 Subject: Fix argument order in a log statement. --- usr.bin/tmux/server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/tmux/server.c') diff --git a/usr.bin/tmux/server.c b/usr.bin/tmux/server.c index c9fdddcb5e0..bcc7f9bb1e6 100644 --- a/usr.bin/tmux/server.c +++ b/usr.bin/tmux/server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server.c,v 1.106 2012/11/19 10:38:06 nicm Exp $ */ +/* $OpenBSD: server.c,v 1.107 2012/12/06 12:49:13 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -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); -- cgit v1.2.3