PERFORCE change 77604 for review
Christian S.J. Peron
csjp at FreeBSD.org
Sat May 28 03:48:35 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=77604
Change 77604 by csjp at csjp_xor on 2005/05/28 03:48:19
use warnx instead of printf and include the pathname in the warning.
This seems like to more appropriate way to handle warnings.
Affected files ...
.. //depot/projects/trustedbsd/mac/usr.sbin/getfhash/getfhash.c#10 edit
Differences ...
==== //depot/projects/trustedbsd/mac/usr.sbin/getfhash/getfhash.c#10 (text+ko) ====
@@ -235,7 +235,7 @@
if (Wflag) {
(*checksum)(pathname, &digest[0]);
if (memcmp(&digest[0], &sum.vs_sum[0], nbytes) != 0) {
- printf(" (conflicting checksum)");
+ warnx("%s: checksum discrepancy", pathname);
}
}
putchar('\n');
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list