diff options
author | millert <millert@openbsd.org> | 1997-01-15 22:08:15 +0000 |
---|---|---|
committer | millert <millert@openbsd.org> | 1997-01-15 22:08:15 +0000 |
commit | 2d68270107519326aff21b626d8fa87acd5600a7 (patch) | |
tree | 12d3f50fbf34df143e99a39a89b0deed79c86104 /usr.sbin/kvm_mkdb/nlist.c | |
parent | Well, actually this seemed to be a bug in generic code, that (diff) | |
download | wireguard-openbsd-2d68270107519326aff21b626d8fa87acd5600a7.tar.xz wireguard-openbsd-2d68270107519326aff21b626d8fa87acd5600a7.zip |
From NetBSD: make testdb() fail if database version string has length zero.
Also, KNF, b* -> mem*, getopt tests against -1, not EOF, and index -> strchr.
Added OpenBSD tags.
Diffstat (limited to 'usr.sbin/kvm_mkdb/nlist.c')
-rw-r--r-- | usr.sbin/kvm_mkdb/nlist.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.sbin/kvm_mkdb/nlist.c b/usr.sbin/kvm_mkdb/nlist.c index d60ce68006a..f148c95a1d8 100644 --- a/usr.sbin/kvm_mkdb/nlist.c +++ b/usr.sbin/kvm_mkdb/nlist.c @@ -1,3 +1,5 @@ +/* $OpenBSD: nlist.c,v 1.6 1997/01/15 22:08:16 millert Exp $ */ + /*- * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. @@ -32,8 +34,11 @@ */ #ifndef lint -/*static char sccsid[] = "from: @(#)nlist.c 8.1 (Berkeley) 6/6/93";*/ -static char *rcsid = "$Id: nlist.c,v 1.5 1996/07/31 17:21:47 deraadt Exp $"; +#if 0 +static char sccsid[] = "from: @(#)nlist.c 8.1 (Berkeley) 6/6/93"; +#else +static char *rcsid = "$OpenBSD: nlist.c,v 1.6 1997/01/15 22:08:16 millert Exp $"; +#endif #endif /* not lint */ #include <sys/param.h> |