summaryrefslogtreecommitdiff
path: root/devel/netbsd-iscsi-lib/patches/patch-ad
blob: b4c406394c8b449e270aa64bfe58343406d45b15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ad,v 1.1 2011/02/22 13:33:22 sborrill Exp $
Don't hide all error messages from the user

--- src/lib/util.c.orig	2011-02-21 16:22:13.000000000 +0000
+++ src/lib/util.c	2011-02-21 16:22:36.000000000 +0000
@@ -294,7 +294,6 @@
 void
 iscsi_err(const char *f, const int line, const char *fmt, ...)
 {
-#ifdef CONFIG_ISCSI_DEBUG
 	va_list	vp;
 	char	buf[8192];
 
@@ -305,7 +304,6 @@
 #  ifdef HAVE_SYSLOG
 	syslog(LOG_ERR, "pid %d:%s:%d: ***ERROR*** %s", getpid(), f, line, buf);
 #  endif /* HAVE_SYSLOG */
-#endif
 }
 
 void