diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 03:57:47 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 03:57:47 +0000 |
commit | 4f960dd75f181e9fa2edc44324f15f0ab5c64b37 (patch) | |
tree | 15a9c7203efd47ba6dde2896fdb6327dddd4547f /usr.sbin/kvm_mkdb | |
parent | 30ef9631c5eac7f8254bd3d7ad274d34d9f518b8 (diff) | |
download | FreeBSD-src-4f960dd75f181e9fa2edc44324f15f0ab5c64b37.zip FreeBSD-src-4f960dd75f181e9fa2edc44324f15f0ab5c64b37.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'usr.sbin/kvm_mkdb')
-rw-r--r-- | usr.sbin/kvm_mkdb/nlist.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/kvm_mkdb/nlist.c b/usr.sbin/kvm_mkdb/nlist.c index a606731..adf4a42 100644 --- a/usr.sbin/kvm_mkdb/nlist.c +++ b/usr.sbin/kvm_mkdb/nlist.c @@ -83,7 +83,7 @@ create_knlist(name, db) kfile = name; if ((fd = open(name, O_RDONLY, 0)) < 0) err(1, "%s", name); - + fstat(fd,&sst); filep = (u_char*)mmap(0, sst.st_size, PROT_READ, MAP_PRIVATE, fd, 0); @@ -101,7 +101,7 @@ create_knlist(name, db) /* Seek to symbol table. */ cur_off = N_SYMOFF(*ebuf); - + /* Read each symbol and enter it into the database. */ nsyms = ebuf->a_syms / sizeof(struct nlist); while (nsyms--) { @@ -125,7 +125,7 @@ create_knlist(name, db) * XXX * The FreeBSD bootloader loads the kernel at the a_entry address, meaning * that this is where the kernel starts. (not at KERNBASE) - * + * * This may be introducing an i386 dependency. */ #if defined(__FreeBSD__) @@ -147,7 +147,7 @@ create_knlist(name, db) voff += N_DATOFF(*ebuf) - N_DATADDR(*ebuf); vp = filep + voff; - + key.data = (u_char *)VRS_KEY; key.size = sizeof(VRS_KEY) - 1; data.data = vp; |