diff options
| author | 2017-04-19 12:44:29 +0000 | |
|---|---|---|
| committer | 2017-04-19 12:44:29 +0000 | |
| commit | 8eb95462578314b1014a8986848c86e18dda7c8f (patch) | |
| tree | 123973f66b0c471c19d8385c2a5f0de6fccab5a8 /usr.bin/tmux/tmux.c | |
| parent | Make the test pass when an obj directory exists. (diff) | |
| download | wireguard-openbsd-8eb95462578314b1014a8986848c86e18dda7c8f.tar.xz wireguard-openbsd-8eb95462578314b1014a8986848c86e18dda7c8f.zip | |
Style nits and a missing cast.
Diffstat (limited to 'usr.bin/tmux/tmux.c')
| -rw-r--r-- | usr.bin/tmux/tmux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c index bb55e6d9595..e19d871f02e 100644 --- a/usr.bin/tmux/tmux.c +++ b/usr.bin/tmux/tmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.c,v 1.179 2017/04/16 20:33:46 nicm Exp $ */ +/* $OpenBSD: tmux.c,v 1.180 2017/04/19 12:44:29 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -120,7 +120,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); |
