diff options
-rw-r--r-- | src/slave/kpropd.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/slave/kpropd.c b/src/slave/kpropd.c index 367380ede..770ade40f 100644 --- a/src/slave/kpropd.c +++ b/src/slave/kpropd.c @@ -489,7 +489,7 @@ void doit(fd) host, sizeof(host), NULL, 0, 0) == 0) { syslog(LOG_INFO, _("Connection from %s"), host); if (debug) - printf("Connection from %s\n", host); + fprintf(stderr, "Connection from %s\n", host); } /* @@ -1367,7 +1367,8 @@ kerberos_authenticate(context, fd, clientp, etype, my_sin) exit(1); } - printf(_("authenticated client: %s (etype == %s)\n"), name, etypebuf); + fprintf(stderr, _("authenticated client: %s (etype == %s)\n"), + name, etypebuf); free(name); } @@ -1655,7 +1656,7 @@ load_database(context, kdb_util, database_file_name) kdb_log_context *log_ctx; if (debug) - printf("calling kdb5_util to load database\n"); + fprintf(stderr, "calling kdb5_util to load database\n"); log_ctx = context->kdblog_context; @@ -1687,7 +1688,7 @@ load_database(context, kdb_util, database_file_name) /*NOTREACHED*/ default: if (debug) - printf("Child PID is %d\n", child_pid); + fprintf(stderr, "Load PID is %d\n", child_pid); if (wait(&waitb) < 0) { com_err(progname, errno, _("while waiting for %s"), kdb_util); exit(1); |