diff options
author | 2013-04-24 10:01:32 +0000 | |
---|---|---|
committer | 2013-04-24 10:01:32 +0000 | |
commit | ebf82b564eed43957ceec1a8ebfe047244498e71 (patch) | |
tree | 33f8e1216f46ab4e36e7568ad1eacc202ea63e13 /usr.bin/tmux/tmux.c | |
parent | When a ucom(4) is removed, it frees the tty with ttyfree(). However if (diff) | |
download | wireguard-openbsd-ebf82b564eed43957ceec1a8ebfe047244498e71.tar.xz wireguard-openbsd-ebf82b564eed43957ceec1a8ebfe047244498e71.zip |
Rename global configuration define.
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 8f680fadbda..7fae055b7ee 100644 --- a/usr.bin/tmux/tmux.c +++ b/usr.bin/tmux/tmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.c,v 1.119 2013/04/11 21:52:18 nicm Exp $ */ +/* $OpenBSD: tmux.c,v 1.120 2013/04/24 10:01:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -357,7 +357,7 @@ main(int argc, char **argv) if (pw != NULL) home = pw->pw_dir; } - xasprintf(&cfg_file, "%s/%s", home, DEFAULT_CFG); + xasprintf(&cfg_file, "%s/.tmux.conf", home); if (access(cfg_file, R_OK) != 0 && errno == ENOENT) { free(cfg_file); cfg_file = NULL; |