From c94a896bb32dd83de9b08622a295974d3a6e308c Mon Sep 17 00:00:00 2001 From: ticktock35 Date: Sat, 24 Jan 2009 08:51:21 +0000 Subject: [PATCH] Thanks to: Per Hansen http://groups.google.com/group/opkg-devel/browse_thread/thread/20ca40ec1f6cec02 opkg install *.ipk An error ocurred, return value: -50512. BTW. This error message is not very helpful! git-svn-id: http://opkg.googlecode.com/svn/trunk@198 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- libopkg/opkg_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libopkg/opkg_cmd.c b/libopkg/opkg_cmd.c index f0ac3f7..91eb21a 100644 --- a/libopkg/opkg_cmd.c +++ b/libopkg/opkg_cmd.c @@ -167,7 +167,7 @@ int opkg_cmd_exec(opkg_cmd_t *cmd, opkg_conf_t *conf, int argc, const char **arg result = (cmd->fun)(conf, argc, argv); if ( result != 0 && !error_list) { - opkg_message(conf, OPKG_NOTICE, "An error ocurred, return value: %d.\n", result); + opkg_message(conf, OPKG_NOTICE, "An error occurred, return value: %d.\n", result); } opkg_print_error_list (conf); -- 2.25.1