From 001e2d1947358c6988e0977574faf97406eca586 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 3 Oct 2007 21:39:16 +0000 Subject: [PATCH] __progname in error msg. --- tmux.c | 4 ++-- 1 file 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 @@ -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); }