mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00:00
__progname in error msg.
This commit is contained in:
parent
df716ecc8f
commit
001e2d1947
4
tmux.c
4
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user