Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2017-04-19 16:01:14 +01:00
6 changed files with 24 additions and 10 deletions

2
tmux.c
View File

@ -118,7 +118,7 @@ make_label(const char *label)
uid = getuid();
if ((s = getenv("TMUX_TMPDIR")) != NULL && *s != '\0')
xasprintf(&base, "%s/tmux-%u", s, uid);
xasprintf(&base, "%s/tmux-%ld", s, (long)uid);
else
xasprintf(&base, "%s/tmux-%ld", _PATH_TMP, (long)uid);