diff options
author | gshapiro <gshapiro@FreeBSD.org> | 2002-08-09 02:39:38 +0000 |
---|---|---|
committer | gshapiro <gshapiro@FreeBSD.org> | 2002-08-09 02:39:38 +0000 |
commit | 87f7a8db5ecf61578b225f948e207ba92462bcfc (patch) | |
tree | 58270b0f1b2f70ba0f0607c56006998c7ed0cb6a /usr.sbin/crunch/crunchgen/crunched_main.c | |
parent | 08c422e95ab9e4a08b4376f764cedf7c7ab922fe (diff) | |
download | FreeBSD-src-87f7a8db5ecf61578b225f948e207ba92462bcfc.zip FreeBSD-src-87f7a8db5ecf61578b225f948e207ba92462bcfc.tar.gz |
Apply the envp fix to the other call to main() as well.
Submitted by: Peter Edwards <pmedwards@eircom.net>
Diffstat (limited to 'usr.sbin/crunch/crunchgen/crunched_main.c')
-rw-r--r-- | usr.sbin/crunch/crunchgen/crunched_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/crunch/crunchgen/crunched_main.c b/usr.sbin/crunch/crunchgen/crunched_main.c index 5c23d7f..2cf9576 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); } |