summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/imgact_shell.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/imgact_shell.c b/sys/kern/imgact_shell.c
index 07bcd57..42a9393 100644
--- a/sys/kern/imgact_shell.c
+++ b/sys/kern/imgact_shell.c
@@ -50,7 +50,8 @@ exec_shell_imgact(imgp)
{
const char *image_header = imgp->image_header;
const char *ihp;
- int error, length, offset;
+ int error, offset;
+ size_t length;
/* a shell script? */
if (((const short *) image_header)[0] != SHELLMAGIC)
OpenPOWER on IntegriCloud