[Midnightbsd-cvs] src [9670] trunk/usr.sbin/mport/mport.c: fix build

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Nov 23 12:19:32 EST 2017


Revision: 9670
          http://svnweb.midnightbsd.org/src/?rev=9670
Author:   laffer1
Date:     2017-11-23 12:19:31 -0500 (Thu, 23 Nov 2017)
Log Message:
-----------
fix build

Modified Paths:
--------------
    trunk/usr.sbin/mport/mport.c

Modified: trunk/usr.sbin/mport/mport.c
===================================================================
--- trunk/usr.sbin/mport/mport.c	2017-11-23 17:19:06 UTC (rev 9669)
+++ trunk/usr.sbin/mport/mport.c	2017-11-23 17:19:31 UTC (rev 9670)
@@ -91,7 +91,7 @@
 			usage();
 		}
 		loadIndex(mport);
-		for (int i = 2; i < argc; i++) {
+		for (i = 2; i < argc; i++) {
 			tempResultCode = install(mport, argv[i]);
 			if (tempResultCode != 0)
                                 resultCode = tempResultCode;



More information about the Midnightbsd-cvs mailing list