diff options
author | Tobias Stoeckmann <tobias@stoeckmann.org> | 2023-11-11 11:12:38 +0100 |
---|---|---|
committer | Dmitry V. Levin <github.dl@altlinux.org> | 2023-11-12 19:20:20 +0000 |
commit | b358f3cef3585901b433414bd7e713c42d38a8c3 (patch) | |
tree | 4caa40fa723b6815d68a0c2ffa08170763e236a1 /modules/pam_env | |
parent | 79f97b5dfddbd54942036851e49c369502689853 (diff) | |
download | pam-b358f3cef3585901b433414bd7e713c42d38a8c3.tar.gz pam-b358f3cef3585901b433414bd7e713c42d38a8c3.tar.bz2 pam-b358f3cef3585901b433414bd7e713c42d38a8c3.zip |
pam_env: remove function prefix in debug messages
The D macro itself already adds the function names.
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Diffstat (limited to 'modules/pam_env')
-rw-r--r-- | modules/pam_env/pam_env.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/pam_env/pam_env.c b/modules/pam_env/pam_env.c index 01c707fd..d675ae37 100644 --- a/modules/pam_env/pam_env.c +++ b/modules/pam_env/pam_env.c @@ -300,7 +300,7 @@ _assemble_line(FILE *f, char *buffer, int buf_len) for (;;) { if (used >= buf_len) { /* Overflow */ - D(("_assemble_line: overflow")); + D(("overflow")); return -1; } if (fgets(p, buf_len - used, f) == NULL) { @@ -313,11 +313,11 @@ _assemble_line(FILE *f, char *buffer, int buf_len) } } if (p[0] == '\0') { - D(("_assemble_line: corrupted or binary file")); + D(("corrupted or binary file")); return -1; } if (p[strlen(p)-1] != '\n' && !feof(f)) { - D(("_assemble_line: line too long")); + D(("line too long")); return -1; } |