diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-05-30 19:09:07 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-05-30 19:09:07 +0000 |
commit | 22faa0a671e92f0076f8972f1f7aa74766d489a5 (patch) | |
tree | 97a8c7121964d389a3cbd917096e456c04c013c1 /usr.sbin/kvm_mkdb | |
parent | d1745b0530a8fcf3ec033c201f02d150ce37d224 (diff) |
minor KNF
Diffstat (limited to 'usr.sbin/kvm_mkdb')
-rw-r--r-- | usr.sbin/kvm_mkdb/nlist.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.sbin/kvm_mkdb/nlist.c b/usr.sbin/kvm_mkdb/nlist.c index 901529153bf..7841e8a8992 100644 --- a/usr.sbin/kvm_mkdb/nlist.c +++ b/usr.sbin/kvm_mkdb/nlist.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nlist.c,v 1.26 2002/03/25 16:41:43 deraadt Exp $ */ +/* $OpenBSD: nlist.c,v 1.27 2002/05/30 19:09:05 deraadt Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "from: @(#)nlist.c 8.1 (Berkeley) 6/6/93"; #else -static char *rcsid = "$OpenBSD: nlist.c,v 1.26 2002/03/25 16:41:43 deraadt Exp $"; +static char *rcsid = "$OpenBSD: nlist.c,v 1.27 2002/05/30 19:09:05 deraadt Exp $"; #endif #endif /* not lint */ @@ -147,7 +147,7 @@ __aout_knlist(fd, db, ksyms) warn("fseek %s", kfile); return (-1); } - + data.data = (u_char *)&nbuf; data.size = sizeof(NLIST); @@ -361,7 +361,7 @@ __elf_knlist(fd, db, ksyms) } } - + /* Check for files too large to mmap. */ /* XXX is this really possible? */ if (symstrsize > SIZE_T_MAX) { @@ -641,7 +641,6 @@ __ecoff_knlist(fd, db, ksyms) data.data = (u_char *)&nbuf; data.size = sizeof(nbuf); } - } unmap: |