summaryrefslogtreecommitdiffstats
path: root/tmux.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2016-05-27 20:11:32 +0100
committerThomas Adam <thomas@xteddy.org>2016-05-27 20:11:32 +0100
commitc10d83b4df2d4beb709f2779cab6bbafa957ce09 (patch)
treebae9364c4e5643cfbebb01ecc6b05bb2fddcee04 /tmux.c
parenta2e0db67cca4f489b5d1dc6aeafbbf8d746c4fde (diff)
__progname -> getprogname()
Fix fallout from recent use of getprogname(), which deprecates __progname.
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux.c b/tmux.c
index a865f368..57fbc6b2 100644
--- a/tmux.c
+++ b/tmux.c
@@ -225,7 +225,7 @@ main(int argc, char **argv)
flags |= CLIENT_CONTROL;
break;
case 'V':
- printf("%s %s\n", __progname, VERSION);
+ printf("%s %s\n", getprogname(), VERSION);
exit(0);
case 'f':
set_cfg_file(optarg);