df: fix a bug when totaling unknown values
commitc04cb1274c492344aa0adbe453903a017d33c744
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 25 Mar 2009 21:16:46 +0000 (25 14:16 -0700)
committerJim Meyering <meyering@redhat.com>
Thu, 26 Mar 2009 07:53:21 +0000 (26 08:53 +0100)
treec6b7f551ea38ad45e8bee7a639d978f710b7cf83
parentb102ed9ba6e529cc3dcf6be63c95d0f93d5499e0
df: fix a bug when totaling unknown values

* src/df.c (show_dev): Don't add UINTMAX_MAX to grand totals, as that
value indicates that the true value is unknown; adding it effectively
subtracts 1 from the total, whereas we want to leave the total alone.
src/df.c