pkgsrc/devel/netbsd-iscsi-lib/patches/patch-ad

22 lines
537 B
Text
Raw Normal View History

$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