summaryrefslogtreecommitdiffstats
path: root/sys/kern/imgact_gzip.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-02-13 14:16:36 +0000
committerphk <phk@FreeBSD.org>1996-02-13 14:16:36 +0000
commitdeef3e479531bd28fbb10e3de5b72e14d95cf2d7 (patch)
treefeb4cadcebb96dec404d1750dee61c3f491c433e /sys/kern/imgact_gzip.c
parentec263309a1e004e28dfdf593606a53d8fe2594bd (diff)
downloadFreeBSD-src-deef3e479531bd28fbb10e3de5b72e14d95cf2d7.zip
FreeBSD-src-deef3e479531bd28fbb10e3de5b72e14d95cf2d7.tar.gz
rewrap some long lines.
Diffstat (limited to 'sys/kern/imgact_gzip.c')
-rw-r--r--sys/kern/imgact_gzip.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/sys/kern/imgact_gzip.c b/sys/kern/imgact_gzip.c
index 1322472..08da3f3 100644
--- a/sys/kern/imgact_gzip.c
+++ b/sys/kern/imgact_gzip.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: imgact_gzip.c,v 1.17 1995/12/07 12:46:35 davidg Exp $
+ * $Id: imgact_gzip.c,v 1.18 1996/01/19 03:57:56 dyson Exp $
*
* This module handles execution of a.out files which have been run through
* "gzip". This saves diskspace, but wastes cpu-cycles and VM.
@@ -250,12 +250,14 @@ do_aout_hdr(struct imgact_gzip * gz)
}
if (gz->bss_size != 0) {
/*
- * Allocate demand-zeroed area for uninitialized data "bss" = 'block
- * started by symbol' - named after the IBM 7090 instruction of the
- * same name.
+ * Allocate demand-zeroed area for uninitialized data.
+ * "bss" = 'block started by symbol' - named after the
+ * IBM 7090 instruction of the same name.
*/
- vmaddr = gz->virtual_offset + gz->a_out.a_text + gz->a_out.a_data;
- error = vm_map_find(&vmspace->vm_map, NULL, 0, &vmaddr, gz->bss_size, FALSE, VM_PROT_ALL, VM_PROT_ALL, 0);
+ vmaddr = gz->virtual_offset + gz->a_out.a_text +
+ gz->a_out.a_data;
+ error = vm_map_find(&vmspace->vm_map, NULL, 0, &vmaddr,
+ gz->bss_size, FALSE, VM_PROT_ALL, VM_PROT_ALL, 0);
if (error) {
gz->where = __LINE__;
return (error);
OpenPOWER on IntegriCloud