openbsd-ports/sysutils/radmind/patches/patch-lcksum_c
benoit e20d52a6e3 - update radmind to 1.14.1
- regen patches

ok william@ (maintainer)
2013-03-22 13:46:32 +00:00

13 lines
531 B
Plaintext

$OpenBSD: patch-lcksum_c,v 1.5 2013/03/22 13:46:35 benoit Exp $
--- lcksum.c.orig Sun Nov 28 21:37:44 2010
+++ lcksum.c Sun Mar 17 23:52:25 2013
@@ -437,7 +437,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 "