From c64c64b7683695828a6fef044c7193cfa0461be9 Mon Sep 17 00:00:00 2001 From: Koutheir Attouchi Date: Thu, 13 Mar 2025 14:45:01 -0400 Subject: [PATCH] Use ipc_stat::cgid for the column COL_CGID. --- sys-utils/lsipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-utils/lsipc.c b/sys-utils/lsipc.c index 58cf515de..133957ea9 100644 --- a/sys-utils/lsipc.c +++ b/sys-utils/lsipc.c @@ -926,7 +926,7 @@ static void do_msg(int id, struct lsipc_control *ctl, struct libscols_table *tb) rc = scols_line_refer_data(ln, n, arg); break; case COL_CGID: - rc = scols_line_sprintf(ln, n, "%u", p->msg_perm.cuid); + rc = scols_line_sprintf(ln, n, "%u", p->msg_perm.cgid); break; case COL_CGROUP: arg = get_groupname(&gr, p->msg_perm.cgid); -- 2.47.2