aboutsummaryrefslogtreecommitdiff
path: root/client/nvram_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/nvram_client.c')
-rw-r--r--client/nvram_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/nvram_client.c b/client/nvram_client.c
index 4843abe..e4e462a 100644
--- a/client/nvram_client.c
+++ b/client/nvram_client.c
@@ -22,7 +22,7 @@
#include <hardware/nvram.h>
-#define countof(array) (sizeof(array) / sizeof(array[0]))
+#define countof(array) (sizeof(array) / sizeof((array)[0]))
// Exit status codes. These are all negative as the positive ones are used for
// the NV_RESULT_ codes.