openbsd-ports/net/mrtd/patches/patch-lib_mrt_trace_c
2010-05-28 09:49:21 +00:00

13 lines
484 B
Plaintext

$OpenBSD: patch-lib_mrt_trace_c,v 1.2 2010/05/28 09:49:21 espie Exp $
--- lib/mrt/trace.c.orig Tue Apr 18 20:42:13 2000
+++ lib/mrt/trace.c Fri May 28 04:15:22 2010
@@ -496,7 +496,7 @@ int set_trace (trace_t * tmp, int first,...) {
tmp->flags &= ~va_arg (ap, long);
break;
case TRACE_USE_SYSLOG:
- tmp->syslog_flag = va_arg(ap, u_char);
+ tmp->syslog_flag = va_arg(ap, u_int);
break;
case TRACE_MAX_FILESIZE:
if (tmp->slave) break; /* ignore */