of file FILE, or of the standard input if FILE is "-".
If PRINT_NAME is >0, print FILE next to the checksum and size.
Return 1 if successful. */
of file FILE, or of the standard input if FILE is "-".
If PRINT_NAME is >0, print FILE next to the checksum and size.
Return 1 if successful. */
- printf("%d %s ", checksum,
- make_human_readable_str(total_bytes, 1, 512));
+ printf("%d %s ", s,
+ make_human_readable_str(total_bytes, 1, 512));
+ }
int (*sum_func)(const char *, int) = bsd_sum_file;
/* give the bsd func priority over sysv func */
int (*sum_func)(const char *, int) = bsd_sum_file;
/* give the bsd func priority over sysv func */