292a790802
-- From: Robert Nagy <thuglife at bsd dot hu>
13 lines
409 B
Plaintext
13 lines
409 B
Plaintext
$OpenBSD: patch-dns_c,v 1.2 2004/04/07 22:51:03 brad Exp $
|
|
--- dns.c.orig Sun May 18 03:21:33 2003
|
|
+++ dns.c Fri Apr 2 12:30:59 2004
|
|
@@ -139,7 +139,7 @@
|
|
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, __FUNCTION__": read(%lu)", (unsigned long)sizeof(size));
|
|
|
|
if (size == -1)
|
|
goto fail;
|