aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-10-03 21:39:16 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-10-03 21:39:16 +0000
commit001e2d1947358c6988e0977574faf97406eca586 (patch)
tree0d61d4c1c2af5ab71b00f4bc745ca883d0bf67fe
parentdf716ecc8fadc9ffd6b8c9ee33d062b58895a47b (diff)
downloadrtmux-001e2d1947358c6988e0977574faf97406eca586.tar.gz
rtmux-001e2d1947358c6988e0977574faf97406eca586.tar.bz2
rtmux-001e2d1947358c6988e0977574faf97406eca586.zip
__progname in error msg.
-rw-r--r--tmux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmux.c b/tmux.c
index b47bff65..3016b64e 100644
--- a/tmux.c
+++ b/tmux.c
@@ -1,4 +1,4 @@
-/* $Id: tmux.c,v 1.25 2007-10-03 21:31:07 nicm Exp $ */
+/* $Id: tmux.c,v 1.26 2007-10-03 21:39:16 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -205,7 +205,7 @@ main(int argc, char **argv)
if ((cmd = cmd_parse(argc, argv, &cause)) == NULL) {
if (cause == NULL)
goto usage;
- log_warnx("%s", cause);
+ log_warnx("%s: %s", __progname, cause);
exit(1);
}