SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
11
net/crawl/patches/patch-dns_c
Normal file
11
net/crawl/patches/patch-dns_c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- dns.c.orig Sun May 18 03:21:33 2003
|
||||
+++ dns.c Sun May 23 18:24:21 2010
|
||||
@@ -139,7 +139,7 @@ dns_read(int fd, short why, void *arg)
|
||||
event_add(&child->ev_write, NULL);
|
||||
|
||||
if (atomicio(read, fd, &size, sizeof(size)) != sizeof(size))
|
||||
- err(1, "%s: read(%d)", __func__, sizeof(size));
|
||||
+ err(1, "%s: read(%lu)", (unsigned long)sizeof(size), __func__);
|
||||
|
||||
if (size == -1)
|
||||
goto fail;
|
Loading…
Add table
Add a link
Reference in a new issue