From 1ead0858263428d36a193f400fed24bf9635268a Mon Sep 17 00:00:00 2001 From: Michael Meskes Date: Fri, 2 Jan 2009 16:40:52 +0100 Subject: 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. --- src/stat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stat.c b/src/stat.c index f5bf8cdee..feea4b793 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); -- cgit v1.2.3-70-g09d2