--- ntp-4.1.2/ntpdate/ntpdate.c.orig 2002-09-18 10:40:44 +0400 +++ ntp-4.1.2/ntpdate/ntpdate.c 2003-08-17 02:35:09 +0400 @@ -509,10 +509,7 @@ } authtrust(sys_authkey, 1); if (!authistrusted(sys_authkey)) { - char buf[10]; - - (void) sprintf(buf, "%lu", (unsigned long)sys_authkey); - msyslog(LOG_ERR, "authentication key %s unknown", buf); + msyslog(LOG_ERR, "authentication key %lu unknown", (unsigned long)sys_authkey); exit(1); } } --- ntp-4.1.2/ntpdate/ntptimeset.c.orig 2001-10-09 09:58:41 +0400 +++ ntp-4.1.2/ntpdate/ntptimeset.c 2003-08-17 02:35:35 +0400 @@ -598,10 +598,7 @@ exit(1); } if (!authistrusted(sys_authkey)) { - char buf[10]; - - (void) sprintf(buf, "%lu", (unsigned long)sys_authkey); - msyslog(LOG_ERR, "authentication key %s unknown", buf); + msyslog(LOG_ERR, "authentication key %lu unknown", (unsigned long)sys_authkey); exit(1); } }