pkgsrc/comms/fidogate/patches/patch-al
abs ef4d926af1 You are in a maze of twisty little Makefiles, all with short install targets
Somewhat more than 11 rooms later... PKG_DESTDIR_SUPPORT
2009-12-18 01:09:23 +00:00

13 lines
503 B
Text

$NetBSD: patch-al,v 1.7 2009/12/18 01:09:23 abs Exp $
--- src/common/log.c.orig 2004-08-26 20:56:20.000000000 +0000
+++ 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));