From 070eb30ca675029e79f93333b60287527efc0906 Mon Sep 17 00:00:00 2001 From: bde Date: Sat, 31 Aug 1996 16:52:44 +0000 Subject: Fixed the easy cases of const poisoning in the kernel. Cosmetic. --- sys/kern/imgact_aout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/kern/imgact_aout.c') diff --git a/sys/kern/imgact_aout.c b/sys/kern/imgact_aout.c index 0455da5..3c9d9a8 100644 --- a/sys/kern/imgact_aout.c +++ b/sys/kern/imgact_aout.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: imgact_aout.c,v 1.27 1996/05/01 02:42:41 bde Exp $ + * $Id: imgact_aout.c,v 1.28 1996/05/02 10:43:16 phk Exp $ */ #include @@ -52,7 +52,7 @@ static int exec_aout_imgact(imgp) struct image_params *imgp; { - struct exec *a_out = (struct exec *) imgp->image_header; + const struct exec *a_out = (const struct exec *) imgp->image_header; struct vmspace *vmspace = imgp->proc->p_vmspace; vm_offset_t vmaddr; unsigned long virtual_offset; -- cgit v1.1