From: Koutheir Attouchi Date: Thu, 13 Mar 2025 18:45:01 +0000 (-0400) Subject: Use ipc_stat::cgid for the column COL_CGID. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c64c64b7683695828a6fef044c7193cfa0461be9;p=thirdparty%2Futil-linux.git Use ipc_stat::cgid for the column COL_CGID. --- 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);