Kamil Dudka <[EMAIL PROTECTED]> writes:
> @@ -296,7 +338,9 @@ show_dev (char const *disk, char const *mount_point,
> if (!stat_file)
> stat_file = mount_point ? mount_point : disk;
>
> - if (get_fs_usage (stat_file, disk, &fsu))
> + if (force_fsu)
> + memcpy(&fsu, force_fsu, sizeof(struct fs_usage));
fsu = *force_fsu;
> @@ -794,11 +849,14 @@ main (int argc, char **argv)
> file_systems_processed = false;
> posix_format = false;
> exit_status = EXIT_SUCCESS;
> + print_grand_total = false;
> + bzero(&grand_fsu, sizeof(struct fs_usage));
bzero is non-standard, and static variables are always initialized.
Andreas.
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils