diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-09-19 08:36:37 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-09-19 08:36:37 +0000 |
| commit | 7248ef86e04b58fce394f84825407c0f69b335ab (patch) | |
| tree | c9ae9e8cb9eb2910964d713f009a7edce9bf50c9 | |
| parent | 978f8d93006f17c4ca3089ef90d1dfeee7e20a3f (diff) | |
Notes
| -rw-r--r-- | usr.sbin/jail/jail.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/jail/jail.c b/usr.sbin/jail/jail.c index 413ac5460368..fc349908f1df 100644 --- a/usr.sbin/jail/jail.c +++ b/usr.sbin/jail/jail.c @@ -29,6 +29,8 @@ main(int argc, char **argv) i = chdir(argv[1]); if (i) err(1, "chdir %s", argv[1]); + memset(&j, 0, sizeof(j)); + j.version = 0; j.path = argv[1]; j.hostname = argv[2]; i = inet_aton(argv[3], &in); |
