The branch stable/14 has been updated by manu:

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

commit bb219e78dddd57741fd392d2c99f8a17e54e69bf
Author:     Emmanuel Vadot <[email protected]>
AuthorDate: 2024-02-27 06:39:13 +0000
Commit:     Emmanuel Vadot <[email protected]>
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)

Reply via email to