openbsd-ports/security/sshguard/patches/patch-src_sshguard_logsuck_c
rpointel 005d735a4a Update sshguard to 1.5.
ok aja@ millert@.
2011-03-07 17:44:16 +00:00

13 lines
736 B
Plaintext

$OpenBSD: patch-src_sshguard_logsuck_c,v 1.2 2011/03/07 17:44:16 rpointel Exp $
--- src/sshguard_logsuck.c.orig Wed Feb 9 13:01:47 2011
+++ src/sshguard_logsuck.c Sat Mar 5 19:27:53 2011
@@ -242,7 +242,7 @@ int logsuck_getline(char *restrict buf, size_t buflen,
if (ret > 0) {
if (kevs[0].filter == EVFILT_READ) {
/* got data on this one. Read from it */
- sshguard_log(LOG_DEBUG, "Searching for fd %lu in list.", kevs[0].ident);
+ sshguard_log(LOG_DEBUG, "Searching for fd %u in list.", kevs[0].ident);
readentry = list_seek(& sources_list, & kevs[0].ident);
assert(readentry != NULL);
assert(readentry->active);