df: port the known-value fix to AIX as well
commit22fa69e27dbd1ef421913f78934efe3b179c12c1
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 26 Mar 2009 03:50:17 +0000 (25 20:50 -0700)
committerJim Meyering <meyering@redhat.com>
Thu, 26 Mar 2009 07:53:21 +0000 (26 08:53 +0100)
tree04a96518960f7ea7f52a94d5ec6cf23d8b029dec
parentc04cb1274c492344aa0adbe453903a017d33c744
df: port the known-value fix to AIX as well

* src/df.c (known_value): New function, which also works on AIX
/proc file systems.
(df_readable, show_dev): Use it instead of hardcoding comparison to
UINTMAX_MAX.  Suggested by Jim Meyering and Matthew Woehlke.
src/df.c