SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View 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;