Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 May 2005 15:44:38 GMT
From:      "Christian S.J. Peron" <csjp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 77514 for review
Message-ID:  <200505261544.j4QFicPQ091011@repoman.freebsd.org>

index | next in thread | raw e-mail

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

Change 77514 by csjp@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)");
 		}


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505261544.j4QFicPQ091011>