pkgsrc/comms/fidogate/patches/patch-al

14 lines
502 B
Text
Raw Normal View History

$NetBSD: patch-al,v 1.6 2005/08/17 11:43:27 tv Exp $
--- src/common/log.c.orig 2004-08-26 16:56:20.000000000 -0400
+++ src/common/log.c
@@ -137,7 +137,7 @@ void logit(const char *fmt, ...)
if(fp)
{
fprintf(fp, "%s %s ",
- date_buf(buf, sizeof(buf), DATE_LOG, (long *)0), logprog);
+ date_buf(buf, sizeof(buf), DATE_LOG, (time_t *)0), logprog);
vfprintf(fp, *fmt == '$' ? fmt + 1 : fmt, args);
if (*fmt == '$')
fprintf(fp, " (errno=%d: %s)", errno, strerror(errno));