artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c94f679
)
Fix typo: argv[1] -> argv[i]
author
tb
<tb@openbsd.org>
Tue, 31 May 2022 19:37:02 +0000
(19:37 +0000)
committer
tb
<tb@openbsd.org>
Tue, 31 May 2022 19:37:02 +0000
(19:37 +0000)
regress/usr.sbin/rpki-client/test-gbr.c
patch
|
blob
|
history
diff --git
a/regress/usr.sbin/rpki-client/test-gbr.c
b/regress/usr.sbin/rpki-client/test-gbr.c
index
2143731
..
f23a168
100644
(file)
--- a/
regress/usr.sbin/rpki-client/test-gbr.c
+++ b/
regress/usr.sbin/rpki-client/test-gbr.c
@@
-1,4
+1,4
@@
-/* $Id: test-gbr.c,v 1.
7 2022/04/20 17:26:53
tb Exp $ */
+/* $Id: test-gbr.c,v 1.
8 2022/05/31 19:37:02
tb Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@
-72,7
+72,7
@@
main(int argc, char *argv[])
errx(1, "argument missing");
for (i = 0; i < argc; i++) {
- buf = load_file(argv[
1
], &len);
+ buf = load_file(argv[
i
], &len);
if ((p = gbr_parse(&xp, argv[i], buf, len)) == NULL) {
free(buf);
continue;