git: 84329908c522 - main - pam_xdg: Remove leftover debug printf

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Tue, 27 Feb 2024 06:42:59 UTC
The branch main has been updated by manu:

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

commit 84329908c522b428e4dc858a9bac769117927cd3
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2024-02-27 06:39:13 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2024-02-27 06:42:47 +0000

    pam_xdg: Remove leftover debug printf
    
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
    Fixes:          6e69612d5df1 ("pam: Add pam_xdg module")
---
 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)