diff options
author | des <des@FreeBSD.org> | 2002-04-16 22:04:22 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-04-16 22:04:22 +0000 |
commit | d1895aba33450dc0ff3d7c9d82543e6ea666a0f7 (patch) | |
tree | a5b5b01eeed96b9e90dec6b576439c7658f918c2 | |
parent | 2b150cf6ae08e7a10484a561c6bf0977378022dc (diff) | |
download | FreeBSD-src-d1895aba33450dc0ff3d7c9d82543e6ea666a0f7.zip FreeBSD-src-d1895aba33450dc0ff3d7c9d82543e6ea666a0f7.tar.gz |
Don't echo log messages to stderr (perforce change 9758)
-rw-r--r-- | contrib/openpam/lib/openpam_log.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/contrib/openpam/lib/openpam_log.c b/contrib/openpam/lib/openpam_log.c index 77bb64f..899a6f7 100644 --- a/contrib/openpam/lib/openpam_log.c +++ b/contrib/openpam/lib/openpam_log.c @@ -31,7 +31,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/openpam/lib/openpam_log.c#12 $ + * $P4: //depot/projects/openpam/lib/openpam_log.c#13 $ */ #include <ctype.h> @@ -83,9 +83,6 @@ _openpam_log(int level, const char *func, const char *fmt, ...) if ((format = malloc(strlen(func) + len + 16)) != NULL) { sprintf(format, "in %s(): %.*s\n", func, len, fmt); vsyslog(priority, format, ap); -#ifdef DEBUG - vfprintf(stderr, format, ap); -#endif free(format); } else { vsyslog(priority, fmt, ap); |