summaryrefslogtreecommitdiff
path: root/usr.bin/mg/theo.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2010-01-24 05:22:57 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2010-01-24 05:22:57 +0000
commit6bb90517fca64948a396db7287b0dbe47d51b366 (patch)
treea7600c4bce239c310dfa1d5b12b72dda64631356 /usr.bin/mg/theo.c
parentaf492e3402d7ff1f92390230f1483ed91ce50409 (diff)
use nitems here, no real change
Diffstat (limited to 'usr.bin/mg/theo.c')
-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