openbsd-ports/sysutils/radmind/patches/patch-lcksum_c
jasper 828ed12d8d - update radmind to 1.13.0
- regen PLIST

from William Yodlowsky (MAINTAINER), thanks!
2008-11-10 09:19:25 +00:00

13 lines
531 B
Plaintext

$OpenBSD: patch-lcksum_c,v 1.4 2008/11/10 09:19:25 jasper Exp $
--- lcksum.c.orig Fri Nov 7 23:33:01 2008
+++ lcksum.c Fri Nov 7 23:33:39 2008
@@ -431,7 +431,7 @@ do_lcksum( char *tpath )
fprintf( ufs, "%s %-37s %4s %5s %5s %9ld "
"%7" PRIofft "d %s\n",
targv[ 0 ], targv[ 1 ], targv[ 2 ], targv[ 3 ],
- targv[ 4 ], st.st_mtime, st.st_size, lcksum );
+ targv[ 4 ], (long)st.st_mtime, st.st_size, lcksum );
} else {
/* use mtime from transcript */
fprintf( ufs, "%s %-37s %4s %5s %5s %9s "