From: Michael Meskes Date: Fri, 2 Jan 2009 15:40:52 +0000 (+0100) Subject: stat: print file-system total inode count (%c) as an unsigned number X-Git-Tag: v7.1~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ead0858263428d36a193f400fed24bf9635268a;p=thirdparty%2Fcoreutils.git stat: print file-system total inode count (%c) as an unsigned number * src/stat.c (print_statfs): Print statfs.f_files, the total inode count of a file system, as an unsigned number. --- diff --git a/src/stat.c b/src/stat.c index f5bf8cdeee..feea4b793d 100644 --- a/src/stat.c +++ b/src/stat.c @@ -1,5 +1,5 @@ /* stat.c -- display file or file system status - Copyright (C) 2001-2008 Free Software Foundation, Inc. + Copyright (C) 2001-2009 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -541,7 +541,7 @@ print_statfs (char *pformat, size_t prefix_len, char m, char const *filename, } break; case 'c': - out_int (pformat, prefix_len, statfsbuf->f_files); + out_uint (pformat, prefix_len, statfsbuf->f_files); break; case 'd': out_int (pformat, prefix_len, statfsbuf->f_ffree);