git: bb219e78dddd - stable/14 - pam_xdg: Remove leftover debug printf

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Thu, 11 Apr 2024 13:25:03 UTC
The branch stable/14 has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=bb219e78dddd57741fd392d2c99f8a17e54e69bf

commit bb219e78dddd57741fd392d2c99f8a17e54e69bf
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2024-02-27 06:39:13 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2024-04-11 13:24:49 +0000

    pam_xdg: Remove leftover debug printf
    
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
    Fixes:          6e69612d5df1 ("pam: Add pam_xdg module")
    
    (cherry picked from commit 84329908c522b428e4dc858a9bac769117927cd3)
---
 lib/libpam/modules/pam_xdg/pam_xdg.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/libpam/modules/pam_xdg/pam_xdg.c b/lib/libpam/modules/pam_xdg/pam_xdg.c
index 40012fe463e0..d218bc0425f2 100644
--- a/lib/libpam/modules/pam_xdg/pam_xdg.c
+++ b/lib/libpam/modules/pam_xdg/pam_xdg.c
@@ -141,7 +141,6 @@ _pam_xdg_open(pam_handle_t *pamh, int flags __unused,
 	/* Setup the session count file */
 	for (i = 0; i < XDG_MAX_SESSION; i++) {
 		asprintf(&xdg_session_file, "%s/xdg_session.%d", user, i);
-		printf("Trying to open %s\n", xdg_session_file);
 		session_file = openat(rt_dir_prefix, xdg_session_file, O_CREAT | O_EXCL, RUNTIME_DIR_MODE);
 		free(xdg_session_file);
 		if (session_file >= 0)