From 7edc45768503ad518567c494e9107eda6862435d Mon Sep 17 00:00:00 2001 From: Barry Jaspan Date: Fri, 27 Sep 1996 20:38:18 +0000 Subject: [PATCH] * ovsec_kadmd.c (main): krb5_klog_syslog doesn't understand %m git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9131 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin/server/ChangeLog | 4 ++++ src/kadmin/server/ovsec_kadmd.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/kadmin/server/ChangeLog b/src/kadmin/server/ChangeLog index cf52441a0..69e26450c 100644 --- a/src/kadmin/server/ChangeLog +++ b/src/kadmin/server/ChangeLog @@ -1,3 +1,7 @@ +Fri Sep 27 16:37:47 1996 Barry Jaspan + + * ovsec_kadmd.c (main): krb5_klog_syslog doesn't understand %m + Tue Sep 10 14:18:12 1996 Tom Yu * kadmind.M: remove ".so man1/header.doc", fix up .TH call diff --git a/src/kadmin/server/ovsec_kadmd.c b/src/kadmin/server/ovsec_kadmd.c index fe8f80851..532038b1c 100644 --- a/src/kadmin/server/ovsec_kadmd.c +++ b/src/kadmin/server/ovsec_kadmd.c @@ -255,7 +255,8 @@ int main(int argc, char *argv[]) fprintf(stderr, "%s: Cannot bind socket.\n", whoami); fprintf(stderr, "bind: %s\n", error_message(oerrno)); errno = oerrno; - krb5_klog_syslog(LOG_ERR, "Cannot bind socket: %m"); + krb5_klog_syslog(LOG_ERR, "Cannot bind socket: %s", + error_message(errno)); if(oerrno == EADDRINUSE) { char *w = strrchr(whoami, '/'); if (w) { -- 2.26.2