Fix build.

This commit is contained in:
Nicholas Marriott
2025-08-22 12:58:19 +01:00
parent 2070731af1
commit bb4866047a
2 changed files with 1 additions and 5 deletions

View File

@ -861,7 +861,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') {
free(cmd);
return (0);