summaryrefslogtreecommitdiff
path: root/sys/kern/exec_script.c
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1994-05-24 02:35:53 +0000
committercgd <cgd@NetBSD.org>1994-05-24 02:35:53 +0000
commitebcaebd335398c0faedf2dbf89d9f068b96c007b (patch)
treee2b579dea48ccf61ff6302a385003ea25be0e205 /sys/kern/exec_script.c
parentb57fc3b35ba149e68a3557e6a380843f141cd795 (diff)
MIN -> min, MAX -> max
Diffstat (limited to 'sys/kern/exec_script.c')
-rw-r--r--sys/kern/exec_script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/exec_script.c b/sys/kern/exec_script.c
index 347904bffa9..ba3b434f64a 100644
--- a/sys/kern/exec_script.c
+++ b/sys/kern/exec_script.c
@@ -27,7 +27,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: exec_script.c,v 1.5 1994/04/29 08:35:29 cgd Exp $
+ * $Id: exec_script.c,v 1.6 1994/05/24 02:39:13 cgd Exp $
*/
#if defined(SETUIDSCRIPTS) && !defined(FDSCRIPTS)
@@ -92,7 +92,7 @@ exec_script_makecmds(p, epp)
* (The latter requirement means that we have to check
* for both spaces and tabs later on.)
*/
- hdrlinelen = MIN(epp->ep_hdrvalid, MAXINTERP);
+ hdrlinelen = min(epp->ep_hdrvalid, MAXINTERP);
for (cp = hdrstr + EXEC_SCRIPT_MAGICLEN; cp < hdrstr + hdrlinelen;
cp++) {
if (*cp == '\n') {