* configure.in: Use krb5util library
authorEzra Peisach <epeisach@mit.edu>
Wed, 6 Dec 1995 02:04:10 +0000 (02:04 +0000)
committerEzra Peisach <epeisach@mit.edu>
Wed, 6 Dec 1995 02:04:10 +0000 (02:04 +0000)
* login.c (main): Change two-argument call to syslog to three
arguments to handle screw cases in hostnames.

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

src/appl/bsd/ChangeLog
src/appl/bsd/configure.in
src/appl/bsd/login.c

index 9f39893436da83c9f1286f427f455175541312d8..c37f79fe854120bb79d59159c013af3646ee1bfa 100644 (file)
@@ -1,3 +1,10 @@
+Tue Dec  5 20:44:39 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
+
+       * configure.in: Use krb5util library.
+
+       * login.c (main): Change two-argument call to syslog to three
+               arguments to handle screw cases in hostnames.
+
 Fri Dec  1 17:25:02 1995  Theodore Y. Ts'o  <tytso@dcl>
 
        * login.c (main, dofork): Applied patch from Scott Schwartz
index 143faec9757607683538595d0a37117a476bdc09..b6114736e4cd2663fa985b70a9355c1350b54c25 100644 (file)
@@ -159,6 +159,7 @@ dnl
 ADD_DEF(-DKERBEROS)
 AC_CONST
 USE_KRB4_LIBRARY
+USE_KRB5UTIL_LIBRARY
 KRB5_LIBRARIES
 V5_USE_SHARED_LIB
 V5_AC_OUTPUT_MAKEFILE
index 536d2bd30aaadf9157b28be78297db22307e3a50..5ea2f7feafb5f3a5544f9ed090ef82afefa74538 100644 (file)
@@ -957,7 +957,7 @@ bad_login:
                                   kdata->pname, kdata->pinst,
                                   kdata->prealm);
 #endif
-                           syslog(LOG_NOTICE, buf);
+                           syslog(LOG_NOTICE, "%s", buf);
                        } else {
 #endif /* KRB4 */
 #ifdef UT_HOSTSIZE