* ovsec_kadmd.c (main): krb5_klog_syslog doesn't understand %m
authorBarry Jaspan <bjaspan@mit.edu>
Fri, 27 Sep 1996 20:38:18 +0000 (20:38 +0000)
committerBarry Jaspan <bjaspan@mit.edu>
Fri, 27 Sep 1996 20:38:18 +0000 (20:38 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9131 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/server/ChangeLog
src/kadmin/server/ovsec_kadmd.c

index cf52441a071cf78d416894dda0b8bb19ac25602f..69e26450cc72e825dbbe689bf082f36f1b8b46fb 100644 (file)
@@ -1,3 +1,7 @@
+Fri Sep 27 16:37:47 1996  Barry Jaspan  <bjaspan@mit.edu>
+
+       * ovsec_kadmd.c (main): krb5_klog_syslog doesn't understand %m
+
 Tue Sep 10 14:18:12 1996  Tom Yu  <tlyu@mit.edu>
 
        * kadmind.M: remove ".so man1/header.doc", fix up .TH call
index fe8f808510fff05c643e477010f756c0402c9c88..532038b1c352bb56b3271bde2a407f964a01ceb5 100644 (file)
@@ -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) {