From 24f77535ea28ad1767d25468920280bfdf9b13bb Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 30 Aug 2024 20:45:47 -0500 Subject: [PATCH] Fix typo. --- toys/posix/ps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toys/posix/ps.c b/toys/posix/ps.c index 5e4f2c4b..0e95c9eb 100644 --- a/toys/posix/ps.c +++ b/toys/posix/ps.c @@ -869,7 +869,7 @@ static int get_ps(struct dirtree *new) else if (!strcmp(s, "background")) strcpy(tb->pcy, "bg"); else if (!strcmp(s, "top-app")) strcpy(tb->pcy, "ta"); else if (!strcmp(s, "restricted")) strcpy(tb->pcy, "rs"); - else if (!strcmp(s, "foreground-window")) strcpy(tb->pcy, "wi"); + else if (!strcmp(s, "foreground_window")) strcpy(tb->pcy, "wi"); else if (!strcmp(s, "camera-daemon")) strcpy(tb->pcy, "cd"); else strcpy(tb->pcy, "?"); } -- 2.39.2