1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-24 07:40:52 +00:00

Apply the envp fix to the other call to main() as well.

Submitted by:	Peter Edwards <pmedwards@eircom.net>
This commit is contained in:
Gregory Neil Shapiro 2002-08-09 02:39:38 +00:00
parent fd9430fea6
commit b0c70f811b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101550

View File

@ -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);
}