From 9b0b4b31e4bb13f4ae77bc0841fe9400ec3898c1 Mon Sep 17 00:00:00 2001 From: "graham.gower" Date: Wed, 9 Dec 2009 06:05:48 +0000 Subject: [PATCH] And make the install command work. WTF? git-svn-id: http://opkg.googlecode.com/svn/trunk@476 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- tests/libopkg_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/libopkg_test.c b/tests/libopkg_test.c index 1d1f7b6..073a9a7 100644 --- a/tests/libopkg_test.c +++ b/tests/libopkg_test.c @@ -167,7 +167,7 @@ main (int argc, char **argv) printf ("Package \"%s\" not found!\n", find_pkg->name); break; case 'i': - err = opkg_install_package (argv[1], progress_callback, "Installing..."); + err = opkg_install_package (argv[2], progress_callback, "Installing..."); printf ("\nopkg_install_package returned %d (%s)\n", err, errors[err]); break; -- 2.25.1