Trivial change to follow the convention used elsehwere in the
kernel.

Signed-off-by: Dan Cross <[email protected]>
---
 kern/src/profiler.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kern/src/profiler.c b/kern/src/profiler.c
index 2f76ca6..644200d 100644
--- a/kern/src/profiler.c
+++ b/kern/src/profiler.c
@@ -329,7 +329,7 @@ void profiler_append_configure_usage(char *msgbuf, size_t 
buflen)
                "prof_cpubufsz",
        };
 
-       for (int i = 0; i < COUNT_OF(cmds); i++) {
+       for (int i = 0; i < ARRAY_SIZE(cmds); i++) {
                strlcat(msgbuf, "|", buflen);
                strlcat(msgbuf, cmds[i], buflen);
        }
-- 
2.7.0.rc3.207.g0ac5344

-- 
You received this message because you are subscribed to the Google Groups 
"Akaros" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to