aboutsummaryrefslogtreecommitdiffstats
path: root/src/df.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/df.c')
-rw-r--r--src/df.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/df.c b/src/df.c
index 857f76cf4..75e638c5e 100644
--- a/src/df.c
+++ b/src/df.c
@@ -441,7 +441,7 @@ decode_output_arg (char const *arg)
/* process S. */
display_field_t field = INVALID_FIELD;
- for (idx_t i = 0; i < ARRAY_CARDINALITY (field_data); i++)
+ for (idx_t i = 0; i < countof (field_data); i++)
{
if (streq (field_data[i].arg, s))
{