summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-09-24 13:05:10 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-09-24 13:05:10 +0000
commit42272dfbd5058724fc094eb3ea438ec6b7eb6cff (patch)
tree03d77032589c1c7fca5ddcb1d2e137f44366b988 /tmux.h
parenteb0ad181e909c83fad8c1fd2a4a37271b6980ea2 (diff)
Use pgrp of pty fd not pid of immediate child when recovering current
working directory (like current process). From Marcel Partap.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index c208361b..90019bf2 100644
--- a/tmux.h
+++ b/tmux.h
@@ -2277,7 +2277,7 @@ u_int utf8_split2(u_int, u_char *);
/* procname.c */
char *get_proc_name(int, char *);
-char *get_proc_cwd(pid_t);
+char *get_proc_cwd(int);
/* log.c */
void log_open(int, const char *);