summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-07-13 15:33:42 +0000
committerphk <phk@FreeBSD.org>1995-07-13 15:33:42 +0000
commit3757373413d06eb111b5210c8dec4258bc08e7c4 (patch)
tree18ba974477352777062f676595856992b0fa89b2 /usr.sbin
parent8f35e7ba307fd2347a172233ec14d6b5da183f6b (diff)
downloadFreeBSD-src-3757373413d06eb111b5210c8dec4258bc08e7c4.zip
FreeBSD-src-3757373413d06eb111b5210c8dec4258bc08e7c4.tar.gz
Forgot this one in the MD5 reshuffle.
Noticed by: Faried Nawaz <fn@pain.csrv.uidaho.edu>
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ctm/ctm_scan/ctm_scan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ctm/ctm_scan/ctm_scan.c b/usr.sbin/ctm/ctm_scan/ctm_scan.c
index 5a68e0f..1633035 100644
--- a/usr.sbin/ctm/ctm_scan/ctm_scan.c
+++ b/usr.sbin/ctm/ctm_scan/ctm_scan.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: ctm_scan.c,v 1.10 1995/03/24 21:36:32 phk Exp $
+ * $Id: ctm_scan.c,v 1.11 1995/05/30 03:47:31 rgrimes Exp $
*
*/
#include <stdio.h>
@@ -40,7 +40,7 @@ Do(char *path)
int bufp;
MD5_CTX ctx;
int fd,i,j,k,l,npde,nde=0;
- char **pde;
+ char **pde, md5[33];
npde = 1;
pde = malloc(sizeof *pde * (npde+1));
@@ -121,7 +121,7 @@ Do(char *path)
j=2;
i = printf("f %s %o %lu %lu %u %lu %s\n",
buf,st.st_mode & (~S_IFMT),st.st_uid,st.st_gid,
- j,(u_long)st.st_size,MD5End(&ctx));
+ j,(u_long)st.st_size,MD5End(&ctx,md5));
if(!i) exit(-1);
}
break;
OpenPOWER on IntegriCloud