Added missing fsusage names.

* sysdeps/names/fsusage.c: Added missing fsusage names.
This commit is contained in:
Benoît Dejean
2004-07-03 15:18:12 +00:00
parent 24073c48c5
commit 7612022e83
2 changed files with 10 additions and 4 deletions

View File

@@ -1,3 +1,7 @@
2004-07-03 Benoît Dejean <tazforever@dlfp.org>
* sysdeps/names/fsusage.c: Added missing fsusage names.
2004-07-03 Benoît Dejean <tazforever@dlfp.org> 2004-07-03 Benoît Dejean <tazforever@dlfp.org>
* glibtop.h: Moved foward declaration of glibtop to break circular * glibtop.h: Moved foward declaration of glibtop to break circular

View File

@@ -26,13 +26,13 @@
const char *glibtop_names_fsusage [GLIBTOP_MAX_FSUSAGE] = const char *glibtop_names_fsusage [GLIBTOP_MAX_FSUSAGE] =
{ {
"blocks", "bfree", "bavail", "files", "ffree" "blocks", "bfree", "bavail", "files", "ffree", "block_size"
}; };
const unsigned glibtop_types_fsusage [GLIBTOP_MAX_FSUSAGE] = const unsigned glibtop_types_fsusage [GLIBTOP_MAX_FSUSAGE] =
{ {
GLIBTOP_TYPE_ULONG, GLIBTOP_TYPE_ULONG, GLIBTOP_TYPE_ULONG, GLIBTOP_TYPE_ULONG, GLIBTOP_TYPE_ULONG, GLIBTOP_TYPE_ULONG,
GLIBTOP_TYPE_ULONG, GLIBTOP_TYPE_ULONG GLIBTOP_TYPE_ULONG, GLIBTOP_TYPE_ULONG, GLIBTOP_TYPE_INT
}; };
const char *glibtop_labels_fsusage [GLIBTOP_MAX_FSUSAGE] = const char *glibtop_labels_fsusage [GLIBTOP_MAX_FSUSAGE] =
@@ -41,7 +41,8 @@ const char *glibtop_labels_fsusage [GLIBTOP_MAX_FSUSAGE] =
N_("Free blocks"), N_("Free blocks"),
N_("Available blocks"), N_("Available blocks"),
N_("Total file nodes"), N_("Total file nodes"),
N_("Free file nodes") N_("Free file nodes"),
N_("Block size")
}; };
const char *glibtop_descriptions_fsusage [GLIBTOP_MAX_FSUSAGE] = const char *glibtop_descriptions_fsusage [GLIBTOP_MAX_FSUSAGE] =
@@ -50,5 +51,6 @@ const char *glibtop_descriptions_fsusage [GLIBTOP_MAX_FSUSAGE] =
N_("Free blocks available to the superuser"), N_("Free blocks available to the superuser"),
N_("Free blocks available to non-superusers"), N_("Free blocks available to non-superusers"),
N_("Total file nodes"), N_("Total file nodes"),
N_("Free file nodes") N_("Free file nodes"),
N_("Block size")
}; };