summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-12-09 01:05:48 (EST)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-12-09 01:05:48 (EST)
commit9b0b4b31e4bb13f4ae77bc0841fe9400ec3898c1 (patch)
treec49c2eb679233b02208c2dd633d674dc2df47dba
parenteb69adf86363bdf5a492aff0a264091346817f7e (diff)
And make the install command work. WTF?
git-svn-id: http://opkg.googlecode.com/svn/trunk@476 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
-rw-r--r--tests/libopkg_test.c2
1 files changed, 1 insertions, 1 deletions
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;