correct arg to setpeer() from main().

This commit is contained in:
itojun 2003-10-02 23:31:52 +00:00
parent 8cf5cbae01
commit 8af6887573
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: main.c,v 1.18 2003/10/02 21:33:05 itojun Exp $ */
/* $NetBSD: main.c,v 1.19 2003/10/02 23:31:52 itojun Exp $ */
/*
* Copyright (c) 1983, 1993
@ -36,7 +36,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1993\n\
#if 0
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93";
#else
__RCSID("$NetBSD: main.c,v 1.18 2003/10/02 21:33:05 itojun Exp $");
__RCSID("$NetBSD: main.c,v 1.19 2003/10/02 23:31:52 itojun Exp $");
#endif
#endif /* not lint */
@ -192,6 +192,8 @@ main(argc, argv)
if (argc >= 1) {
if (setjmp(toplevel) != 0)
exit(0);
argc++;
argv--;
setpeer(argc, argv);
}
if (setjmp(toplevel) != 0)