openbsd-ports/net/ntp/patches/patch-ntpd_ntp_intres_c

13 lines
497 B
Plaintext

$OpenBSD: patch-ntpd_ntp_intres_c,v 1.2 2010/07/10 19:48:32 naddy Exp $
--- ntpd/ntp_intres.c.orig Sat Jul 10 18:22:29 2010
+++ ntpd/ntp_intres.c Sat Jul 10 18:22:51 2010
@@ -849,7 +849,7 @@ request(
n = authencrypt(req_keyid, (void *)&reqpkt, req_len);
if ((size_t)n != req_hashlen + sizeof(reqpkt.keyid)) {
msyslog(LOG_ERR,
- "intres maclen %d expected %u\n",
+ "intres maclen %d expected %lu\n",
n, (u_long)(req_hashlen +
sizeof(reqpkt.keyid)));
resolver_exit(1);