From 466c0d2b45c100b4b3caeb4c8b476bba21dcd00b Mon Sep 17 00:00:00 2001 From: Andre Date: Mon, 27 Mar 2006 01:23:42 +0200 Subject: [PATCH] stat_line_valid(): use the FOR_EACH_STAT_ITEM macro --- stat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stat.c b/stat.c index ac5fe8c8..536807dc 100644 --- a/stat.c +++ b/stat.c @@ -216,7 +216,7 @@ int stat_line_valid(const char *line) if (!line || !*line) return -E_UNKNOWN_STAT_ITEM; line_len = strlen(line); - for (i = 0; i < NUM_STAT_ITEMS; i++) { + FOR_EACH_STAT_ITEM(i) { const char *s = status_item_list[i]; size_t item_len = strlen(s); -- 2.39.5