From: tb Date: Tue, 31 May 2022 19:37:02 +0000 (+0000) Subject: Fix typo: argv[1] -> argv[i] X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0681abf77f3bd13d9cdcd822ec581251bbc4623c;p=openbsd Fix typo: argv[1] -> argv[i] --- diff --git a/regress/usr.sbin/rpki-client/test-gbr.c b/regress/usr.sbin/rpki-client/test-gbr.c index 21437319c7f..f23a168eaa7 100644 --- 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 * @@ -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;