summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/mg/theo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mg/theo.c b/usr.bin/mg/theo.c
index e4ff8479d6b..144df993ba7 100644
--- a/usr.bin/mg/theo.c
+++ b/usr.bin/mg/theo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: theo.c,v 1.115 2010/01/01 23:01:17 schwarze Exp $ */
+/* $OpenBSD: theo.c,v 1.116 2010/01/24 05:22:56 tedu Exp $ */
/*
* Copyright (c) 2002 Artur Grabowski <art@openbsd.org>
* All rights reserved.
@@ -161,7 +161,7 @@ static const char *talk[] = {
"You aren't being conservative -- you are trying to be a caveman."
};
-static const int ntalk = sizeof(talk)/sizeof(talk[0]);
+static const int ntalk = nitems(talk);
/* ARGSUSED */
static int