* ovsec_kadmd.c (main): Make format string to sprintf specify that
authorEzra Peisach <epeisach@mit.edu>
Fri, 8 Jun 2001 20:22:00 +0000 (20:22 +0000)
committerEzra Peisach <epeisach@mit.edu>
Fri, 8 Jun 2001 20:22:00 +0000 (20:22 +0000)
long arguments are present.

* kadm_rpc_svc.c: Include arpa/inet.h (if present) for inet_ntoa
prototype. Include adm_proto.h for krb5_klog_syslog() prototype.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13316 dc483132-0cff-0310-8789-dd5450dbe970

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

index 511881b824d86efbac5cf456b69bad9f18be2642..8ea630e11ba21d784122d4acb9d3be5c7d28b73c 100644 (file)
@@ -1,3 +1,11 @@
+2001-06-08  Ezra Peisach  <epeisach@mit.edu>
+
+       * ovsec_kadmd.c (main): Make format string to sprintf specify that
+       long arguments are present.
+
+       * kadm_rpc_svc.c: Include arpa/inet.h (if present) for inet_ntoa
+       prototype. Include adm_proto.h for krb5_klog_syslog() prototype.
+
 2001-06-04  Ezra Peisach  <epeisach@mit.edu>
 
        * misc.c, schpw.c: Cleanup assignments in conditionals.
index aa1e06cde2f2be8a2e915b3bccc1c44474082684..911bc737cb890840db0a46172f93298430d8b301 100644 (file)
@@ -18,6 +18,10 @@ static char *rcsid = "$Header$";
 #include <kadm5/kadm_rpc.h>
 #include <krb5.h>
 #include <kadm5/admin.h>
+#include <adm_proto.h>
+#ifdef HAVE_ARPA_INET_H
+#include <arpa/inet.h>
+#endif
 
 /*
  * Function: kadm_1
index ca4bd08097a3de3ef7ce1477e3714e54448d7b88..dade23a4c6d2f99d68dc02e7919577c2eb53a951 100644 (file)
@@ -296,7 +296,7 @@ int main(int argc, char *argv[])
                           "while initializing, aborting", whoami,
                           (params.mask & REQUIRED_PARAMS) ^ REQUIRED_PARAMS);
          fprintf(stderr, "%s: Missing required configuration values "
-                 "(%x) while initializing, aborting\n", whoami,
+                 "(%lx) while initializing, aborting\n", whoami,
                  (params.mask & REQUIRED_PARAMS) ^ REQUIRED_PARAMS);
          krb5_klog_close(context);
          kadm5_destroy(global_server_handle);