aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/imgact_gzip.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1996-08-31 16:52:44 +0000
committerBruce Evans <bde@FreeBSD.org>1996-08-31 16:52:44 +0000
commite0c95ed947b6e682a4a4e3571fb4d3150f7e0d67 (patch)
treed0ca99d3f53a0fe4ea60e83d05baa8825fdd8cc4 /sys/kern/imgact_gzip.c
parentb316c8b2a70e468e809fea8adcc54332fcec954d (diff)
downloadsrc-e0c95ed947b6e682a4a4e3571fb4d3150f7e0d67.tar.gz
src-e0c95ed947b6e682a4a4e3571fb4d3150f7e0d67.zip
Fixed the easy cases of const poisoning in the kernel. Cosmetic.
Notes
Notes: svn path=/head/; revision=17974
Diffstat (limited to 'sys/kern/imgact_gzip.c')
-rw-r--r--sys/kern/imgact_gzip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/imgact_gzip.c b/sys/kern/imgact_gzip.c
index fd981fcb603d..32498aec2bcd 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.22 1996/05/02 10:43:16 phk Exp $
+ * $Id: imgact_gzip.c,v 1.23 1996/08/01 22:00:14 phk Exp $
*
* This module handles execution of a.out files which have been run through
* "gzip". This saves diskspace, but wastes cpu-cycles and VM.
@@ -66,7 +66,7 @@ exec_gzip_imgact(imgp)
struct image_params *imgp;
{
int error, error2 = 0;
- u_char *p = (u_char *) imgp->image_header;
+ const u_char *p = (const u_char *) imgp->image_header;
struct imgact_gzip igz;
struct inflate infl;
struct vmspace *vmspace;