artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ca2e80
)
need a local nitems() definition
author
deraadt
<deraadt@openbsd.org>
Tue, 22 Feb 2022 03:31:50 +0000
(
03:31
+0000)
committer
deraadt
<deraadt@openbsd.org>
Tue, 22 Feb 2022 03:31:50 +0000
(
03:31
+0000)
usr.bin/kdump/kdump.c
patch
|
blob
|
history
diff --git
a/usr.bin/kdump/kdump.c
b/usr.bin/kdump/kdump.c
index
c6e4f17
..
3ba2329
100644
(file)
--- a/
usr.bin/kdump/kdump.c
+++ b/
usr.bin/kdump/kdump.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: kdump.c,v 1.14
5 2021/12/23 18:50:32 guenther Exp $
*/
+/* $OpenBSD: kdump.c,v 1.14
6 2022/02/22 03:31:50 deraadt Exp $
*/
/*-
* Copyright (c) 1988, 1993
@@
-75,6
+75,8
@@
#include "kdump_subr.h"
#include "extern.h"
+#define nitems(_a) (sizeof((_a)) / sizeof((_a)[0]))
+
enum {
TIMESTAMP_NONE,
TIMESTAMP_ABSOLUTE,