summaryrefslogtreecommitdiff
path: root/sbin/ipsecadm
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2000-05-02 21:50:31 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2000-05-02 21:50:31 +0000
commita8ced0c77938d43a2f60a078b4b9fbcc7bd2c3d3 (patch)
treec57eb022309a5727e38f55faded584ea96782032 /sbin/ipsecadm
parent75849f630608b49bfbfe4540db257fc4f2584026 (diff)
Keep track of those offsets in argv[].
Diffstat (limited to 'sbin/ipsecadm')
-rw-r--r--sbin/ipsecadm/ipsecadm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ipsecadm/ipsecadm.c b/sbin/ipsecadm/ipsecadm.c
index bd92f8e096d..93a91eb29ab 100644
--- a/sbin/ipsecadm/ipsecadm.c
+++ b/sbin/ipsecadm/ipsecadm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipsecadm.c,v 1.37 2000/04/22 02:43:15 angelos Exp $ */
+/* $OpenBSD: ipsecadm.c,v 1.38 2000/05/02 21:50:30 ho Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr) and
@@ -497,7 +497,7 @@ main(int argc, char **argv)
exit(1);
}
- fd = open(argv[i++], O_RDONLY);
+ fd = open(argv[i], O_RDONLY);
if (fd < 0)
{
perror("open()");
@@ -558,7 +558,7 @@ main(int argc, char **argv)
exit(1);
}
- fd = open(argv[i++], O_RDONLY);
+ fd = open(argv[i], O_RDONLY);
if (fd < 0)
{
perror("open()");