pkgsrc/security/tripwire/patches/patch-aj
ben 4865884f55 Update the format string in dbase.build.c also.
Fix the format string and types to work on older versions of NetBSD, in
addition to FreeBSD and SunOS.
2003-12-09 19:17:37 +00:00

13 lines
481 B
Text

$NetBSD: patch-aj,v 1.2 2003/12/09 19:17:37 ben Exp $
--- include/tripwire.h.orig 1994-07-25 09:04:34.000000000 -0700
+++ include/tripwire.h
@@ -67,7 +67,7 @@
* ltob64(statbuf->st_ctime, vec64_c), sig0, sig1, ..., sig9
*/
-# define DB_RECORD_FORMAT "%ld %s %lo %lu %lu %lu %lu %lu %s %s %s %s %s %s %s %s %s %s %s %s %s\n"
+# define DB_RECORD_FORMAT "%d %s %o %u %u %u %u %lld %s %s %s %s %s %s %s %s %s %s %s %s %s\n"
#define DB_RECORD_FIELDS 21
/* system defaults */