[linux-user-chroot] newnet: Use correct argv for child
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [linux-user-chroot] newnet: Use correct argv for child
- Date: Tue, 13 Mar 2012 18:38:30 +0000 (UTC)
commit 61b63e3b0b8d33818925d70373c1c86ec3ffaaa3
Author: Colin Walters <walters verbum org>
Date: Tue Mar 13 14:37:31 2012 -0400
newnet: Use correct argv for child
src/linux-user-chroot-newnet.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/linux-user-chroot-newnet.c b/src/linux-user-chroot-newnet.c
index 9cb0804..c08c51e 100644
--- a/src/linux-user-chroot-newnet.c
+++ b/src/linux-user-chroot-newnet.c
@@ -84,7 +84,7 @@ main (int argc,
fatal ("PROGRAM argument must be specified");
program = argv[0];
- program_argv = argv + 1;
+ program_argv = argv;
if (getresgid (&rgid, &egid, &sgid) < 0)
fatal_errno ("getresgid");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]