summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/server.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2012-12-06 12:49:14 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2012-12-06 12:49:14 +0000
commitbdd78311f7beefbfe3c68101e1d6ac0853ade65e (patch)
tree65d572aa86136f1ae7966f823c03030d961bd694 /usr.bin/tmux/server.c
parent8b2c96f9c959cdc7f008c1944f6a871c3d06ab7a (diff)
Fix argument order in a log statement.
Diffstat (limited to 'usr.bin/tmux/server.c')
-rw-r--r--usr.bin/tmux/server.c4
1 files changed, 2 insertions, 2 deletions
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 <nicm@users.sourceforge.net>
@@ -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);