aboutsummaryrefslogtreecommitdiff
path: root/window-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'window-tree.c')
-rw-r--r--window-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/window-tree.c b/window-tree.c
index 384cf392..5dfdaebb 100644
--- a/window-tree.c
+++ b/window-tree.c
@@ -831,7 +831,7 @@ window_tree_search(__unused void *modedata, void *itemdata, const char *ss)
case WINDOW_TREE_PANE:
if (s == NULL || wl == NULL || wp == NULL)
break;
- cmd = get_proc_name(wp->fd, wp->tty);
+ cmd = osdep_get_name(wp->fd, wp->tty);
if (cmd == NULL || *cmd == '\0')
return (0);
retval = (strstr(cmd, ss) != NULL);