From b0c70f811babc10c6aceb0fac16c2c8e02859ea5 Mon Sep 17 00:00:00 2001 From: Gregory Neil Shapiro Date: Fri, 9 Aug 2002 02:39:38 +0000 Subject: [PATCH] Apply the envp fix to the other call to main() as well. Submitted by: Peter Edwards --- usr.sbin/crunch/crunchgen/crunched_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/crunch/crunchgen/crunched_main.c b/usr.sbin/crunch/crunchgen/crunched_main.c index 5c23d7f25974..2cf957670113 100644 --- a/usr.sbin/crunch/crunchgen/crunched_main.c +++ b/usr.sbin/crunch/crunchgen/crunched_main.c @@ -81,7 +81,7 @@ int crunched_here(char *path) } -int crunched_main(int argc, char **argv) +int crunched_main(int argc, char **argv, char **envp) { struct stub *ep; int columns, len; @@ -89,7 +89,7 @@ int crunched_main(int argc, char **argv) if(argc <= 1) crunched_usage(); - return main(--argc, ++argv); + return main(--argc, ++argv, envp); }