From 09c169e26a4847dc39aabcf556dad06df783a11e Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 15 Sep 2019 20:21:12 +0000 Subject: [PATCH] adjust for new check_exec signature. --- sys/kern/exec_script.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/kern/exec_script.c b/sys/kern/exec_script.c index 8d1a73f26e03..6ac9624fd81d 100644 --- a/sys/kern/exec_script.c +++ b/sys/kern/exec_script.c @@ -1,4 +1,4 @@ -/* $NetBSD: exec_script.c,v 1.79 2019/01/27 02:08:43 pgoyette Exp $ */ +/* $NetBSD: exec_script.c,v 1.80 2019/09/15 20:21:12 christos Exp $ */ /* * Copyright (c) 1993, 1994, 1996 Christopher G. Demetriou @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: exec_script.c,v 1.79 2019/01/27 02:08:43 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: exec_script.c,v 1.80 2019/09/15 20:21:12 christos Exp $"); #ifdef _KERNEL_OPT #include "opt_script.h" @@ -290,7 +290,7 @@ check_shell: /* try loading the interpreter */ if ((error = exec_makepathbuf(l, shellname, UIO_SYSSPACE, &shell_pathbuf, NULL)) == 0) { - error = check_exec(l, epp, shell_pathbuf); + error = check_exec(l, epp, shell_pathbuf, NULL); pathbuf_destroy(shell_pathbuf); }