summaryrefslogtreecommitdiff
path: root/misc/heyu/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'misc/heyu/patches/patch-ad')
-rw-r--r--misc/heyu/patches/patch-ad14
1 files changed, 7 insertions, 7 deletions
diff --git a/misc/heyu/patches/patch-ad b/misc/heyu/patches/patch-ad
index 51efd1de67a..c18b0724602 100644
--- a/misc/heyu/patches/patch-ad
+++ b/misc/heyu/patches/patch-ad
@@ -1,8 +1,8 @@
-$NetBSD: patch-ad,v 1.2 2002/07/02 14:03:52 wiz Exp $
+$NetBSD: patch-ad,v 1.3 2003/11/11 10:17:39 wiz Exp $
---- xread.c.orig Wed Apr 11 06:49:48 2001
+--- xread.c.orig Tue Mar 18 00:23:30 2003
+++ xread.c
-@@ -28,7 +28,7 @@
+@@ -24,7 +24,7 @@
#include <stdio.h>
#include <signal.h>
#include <setjmp.h>
@@ -11,7 +11,7 @@ $NetBSD: patch-ad,v 1.2 2002/07/02 14:03:52 wiz Exp $
#include <errno.h>
#else
#include <sys/errno.h>
-@@ -36,7 +36,7 @@
+@@ -32,7 +32,7 @@
#include <syslog.h>
#include <unistd.h>
#include "x10.h"
@@ -20,10 +20,10 @@ $NetBSD: patch-ad,v 1.2 2002/07/02 14:03:52 wiz Exp $
#include <string.h> /* char *strerror(); */
#endif
-@@ -128,7 +128,7 @@
- if( (i < 0) && (i_am_relay != 1) )
+@@ -130,7 +130,7 @@ unsigned char *buf;
+ if( (i < 0) && (i_am_relay == 1) )
{
- syslog(LOG_ERR,"Xread read error");
+ syslog(LOG_ERR,"Relay Xread read error");
- syslog(LOG_ERR, strerror(errno));
+ syslog(LOG_ERR, "%s", strerror(errno));
}