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_shell.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/kern/imgact_shell.c') diff --git a/sys/kern/imgact_shell.c b/sys/kern/imgact_shell.c index 3d2e8ff..b00c652 100644 --- a/sys/kern/imgact_shell.c +++ b/sys/kern/imgact_shell.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: imgact_shell.c,v 1.10 1995/12/02 16:32:03 bde Exp $ + * $Id: imgact_shell.c,v 1.11 1996/04/08 01:21:58 davidg Exp $ */ #include @@ -58,7 +58,7 @@ exec_shell_imgact(imgp) char *interp; /* a shell script? */ - if (((short *) image_header)[0] != SHELLMAGIC) + if (((const short *) image_header)[0] != SHELLMAGIC) return(-1); /* -- cgit v1.1