diff options
Diffstat (limited to 'plugins/check_disk.c')
-rw-r--r-- | plugins/check_disk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c index c1cfb13c..d32841d8 100644 --- a/plugins/check_disk.c +++ b/plugins/check_disk.c | |||
@@ -1017,7 +1017,7 @@ void | |||
1017 | print_usage (void) | 1017 | print_usage (void) |
1018 | { | 1018 | { |
1019 | printf ("%s\n", _("Usage:")); | 1019 | printf ("%s\n", _("Usage:")); |
1020 | printf (" %s -w limit -c limit [-W limit] [-K limit] {-p path | -x device}\n", progname); | 1020 | printf (" %s {-w absolute_limit |-w percentage_limit% | -W inode_percentage_limit } {-c absolute_limit|-c percentage_limit% | -K inode_percentage_limit } {-p path | -x device}\n", progname); |
1021 | printf ("[-C] [-E] [-e] [-f] [-g group ] [-k] [-l] [-M] [-m] [-R path ] [-r path ]\n"); | 1021 | printf ("[-C] [-E] [-e] [-f] [-g group ] [-k] [-l] [-M] [-m] [-R path ] [-r path ]\n"); |
1022 | printf ("[-t timeout] [-u unit] [-v] [-X type] [-N type]\n"); | 1022 | printf ("[-t timeout] [-u unit] [-v] [-X type] [-N type]\n"); |
1023 | } | 1023 | } |
@@ -1128,7 +1128,7 @@ get_path_stats (struct parameter_list *p, struct fs_usage *fsp) { | |||
1128 | p->dfree_units = p->available*fsp->fsu_blocksize/mult; | 1128 | p->dfree_units = p->available*fsp->fsu_blocksize/mult; |
1129 | p->dtotal_units = p->total*fsp->fsu_blocksize/mult; | 1129 | p->dtotal_units = p->total*fsp->fsu_blocksize/mult; |
1130 | /* Free file nodes. Not sure the workaround is required, but in case...*/ | 1130 | /* Free file nodes. Not sure the workaround is required, but in case...*/ |
1131 | p->inodes_free = fsp->fsu_favail > fsp->fsu_ffree ? 0 : fsp->fsu_favail; | 1131 | p->inodes_free = fsp->fsu_ffree; |
1132 | p->inodes_free_to_root = fsp->fsu_ffree; /* Free file nodes for root. */ | 1132 | p->inodes_free_to_root = fsp->fsu_ffree; /* Free file nodes for root. */ |
1133 | p->inodes_used = fsp->fsu_files - fsp->fsu_ffree; | 1133 | p->inodes_used = fsp->fsu_files - fsp->fsu_ffree; |
1134 | if (freespace_ignore_reserved) { | 1134 | if (freespace_ignore_reserved) { |