__progname -> getprogname()

Fix fallout from recent use of getprogname(), which deprecates __progname.
This commit is contained in:
Thomas Adam
2016-05-27 20:11:32 +01:00
parent a2e0db67cc
commit c10d83b4df
2 changed files with 4 additions and 3 deletions

2
tmux.c
View File

@ -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);