PERFORCE change 77514 for review

Christian S.J. Peron csjp at FreeBSD.org
Thu May 26 08:44:40 PDT 2005


http://perforce.freebsd.org/chv.cgi?CH=77514

Change 77514 by csjp at csjp_xor on 2005/05/26 15:43:54

	Actually use the function pointer which was just created :)

Affected files ...

.. //depot/projects/trustedbsd/mac/usr.sbin/getfhash/getfhash.c#8 edit

Differences ...

==== //depot/projects/trustedbsd/mac/usr.sbin/getfhash/getfhash.c#8 (text+ko) ====

@@ -233,7 +233,7 @@
 	for (i = 0; i < nbytes; i++)
 		printf("%02x", sum.vs_sum[i]);
 	if (Wflag) {
-		calc_sha1(pathname, &digest[0]);
+		(*checksum)(pathname, &digest[0]);
 		if (memcmp(&digest[0], &sum.vs_sum[0], nbytes) != 0) {
 			printf(" (conflicting checksum)");
 		}


More information about the p4-projects mailing list