From a26777c771d4b0d0fe3f2153c9fb66c54639883a Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Wed, 15 Jul 1998 15:49:07 +0000 Subject: [PATCH] * gic_pwd.c (krb5_get_init_creds_password): Remove unused argument to sprintf(). * t_ref_kerb.out: Fix test case for zephyr principal to reflect addition to conv_princ.c git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10647 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/ChangeLog | 8 ++++++++ src/lib/krb5/krb/gic_pwd.c | 3 +-- src/lib/krb5/krb/t_ref_kerb.out | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index f6173e32a..a95bc9341 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,11 @@ +Wed Jul 15 11:46:05 1998 Ezra Peisach + + * gic_pwd.c (krb5_get_init_creds_password): Remove unused argument + to sprintf(). + + * t_ref_kerb.out: Fix test case for zephyr principal to reflect + addition to conv_princ.c + Tue Jul 7 17:06:13 1998 Theodore Y. Ts'o * conv_princ.c: Add additional commonly seen Kerberos V4 services diff --git a/src/lib/krb5/krb/gic_pwd.c b/src/lib/krb5/krb/gic_pwd.c index 9180e956e..45a076246 100644 --- a/src/lib/krb5/krb/gic_pwd.c +++ b/src/lib/krb5/krb/gic_pwd.c @@ -293,8 +293,7 @@ cleanup: (hours >= 0)) { if (hours < 1) sprintf(banner, - "Warning: Your password will expire in less than one hour.", - hours); + "Warning: Your password will expire in less than one hour."); else if (hours <= 48) sprintf(banner, "Warning: Your password will expire in %d hour%s.", hours, (hours == 1)?"":"s"); diff --git a/src/lib/krb5/krb/t_ref_kerb.out b/src/lib/krb5/krb/t_ref_kerb.out index 942394453..576a0e0e6 100644 --- a/src/lib/krb5/krb/t_ref_kerb.out +++ b/src/lib/krb5/krb/t_ref_kerb.out @@ -12,6 +12,6 @@ parsed (and unparsed) principal(\/slash/\@atsign/octa\/thorpe@\/slash\@at\/sign) 425_converted principal(rcmd, lithium, ATHENA.MIT.EDU): 'host/lithium.lcs.mit.edu@ATHENA.MIT.EDU' 425_converted principal(rcmd, tweedledumb, CYGNUS.COM): 'host/tweedledumb.cygnus.com@CYGNUS.COM' 425_converted principal(rcmd, uunet, UU.NET): 'host/uunet.uu.net@UU.NET' -425_converted principal(zephyr, zephyr, ATHENA.MIT.EDU): 'zephyr/zephyr@ATHENA.MIT.EDU' +425_converted principal(zephyr, zephyr, ATHENA.MIT.EDU): 'zephyr/zephyr.mit.edu@ATHENA.MIT.EDU' 425_converted principal(kadmin, ATHENA.MIT.EDU, ATHENA.MIT.EDU): 'kadmin/ATHENA.MIT.EDU@ATHENA.MIT.EDU' old principal: marc@MIT.EDU, modified principal: marc@CYGNUS.COM -- 2.26.2