dcavalca / rpms / util-linux

Forked from rpms/util-linux 2 years ago
Clone

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

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