Thanks to: Per Hansen <spamhans@yahoo.de>
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Sat, 24 Jan 2009 08:51:21 +0000 (08:51 +0000)
committerticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Sat, 24 Jan 2009 08:51:21 +0000 (08:51 +0000)
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

index f0ac3f75c94a6e929d86a52df3d47d12b45c99e5..91eb21a01c0b5bd4661b5bcbcca36d41156ac16d 100644 (file)
@@ -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);