summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2010-01-24 05:22:56 +0000
committertedu <tedu@openbsd.org>2010-01-24 05:22:56 +0000
commita11327f6167269fe0705bee4f297946348bbd153 (patch)
tree6a78c82f81c0e29aaf9d4c1baf6a6b7a475a3856
parentWhen a window is destroyed, remove all links to it from each session rather (diff)
downloadwireguard-openbsd-a11327f6167269fe0705bee4f297946348bbd153.tar.xz
wireguard-openbsd-a11327f6167269fe0705bee4f297946348bbd153.zip
use nitems here, no real change
-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