dcavalca / rpms / util-linux

Forked from rpms/util-linux 2 years ago
Clone

Blame SOURCES/0010-lslogins-remove-unexpected-debug-message.patch

dbeef3
From 097fc3427d3221d763f0b1c41923758af2f471a3 Mon Sep 17 00:00:00 2001
dbeef3
From: Karel Zak <kzak@redhat.com>
dbeef3
Date: Thu, 21 Jul 2022 10:57:36 +0200
dbeef3
Subject: lslogins: remove unexpected debug message
dbeef3
dbeef3
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=2094216
dbeef3
Signed-off-by: Karel Zak <kzak@redhat.com>
dbeef3
---
dbeef3
 login-utils/lslogins.c | 3 ---
dbeef3
 1 file changed, 3 deletions(-)
dbeef3
dbeef3
diff --git a/login-utils/lslogins.c b/login-utils/lslogins.c
dbeef3
index 9431a50bb..c37df9096 100644
dbeef3
--- a/login-utils/lslogins.c
dbeef3
+++ b/login-utils/lslogins.c
dbeef3
@@ -562,9 +562,6 @@ static int get_sgroups(gid_t **list, size_t *len, struct passwd *pwd)
dbeef3
 
dbeef3
 	*list = xcalloc(1, ngroups * sizeof(gid_t));
dbeef3
 
dbeef3
-fprintf(stderr, "KZAK>>> alloc '%p' for %s\n", *list, pwd->pw_name);
dbeef3
-
dbeef3
-
dbeef3
 	/* now for the actual list of GIDs */
dbeef3
 	if (-1 == getgrouplist(pwd->pw_name, pwd->pw_gid, *list, &ngroups))
dbeef3
 		return -1;
dbeef3
-- 
dbeef3
2.36.1
dbeef3