aboutsummaryrefslogtreecommitdiffstats
path: root/package/opkg/patches/014-errors-to-stderr.patch
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-11-24 14:54:26 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-11-24 14:54:26 +0000
commit8c43fbff92e305387de7daa05efeaec91331fbb3 (patch)
tree5455ff0ab225d3f0b50b2f62d28dae89acb1b87f /package/opkg/patches/014-errors-to-stderr.patch
parent7989ca19b5b8762b475e9dd7d1e9400a3dea8244 (diff)
downloadupstream-8c43fbff92e305387de7daa05efeaec91331fbb3.tar.gz
upstream-8c43fbff92e305387de7daa05efeaec91331fbb3.tar.bz2
upstream-8c43fbff92e305387de7daa05efeaec91331fbb3.zip
[package] opkg: write error messages to stdout
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24133 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/opkg/patches/014-errors-to-stderr.patch')
-rw-r--r--package/opkg/patches/014-errors-to-stderr.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/opkg/patches/014-errors-to-stderr.patch b/package/opkg/patches/014-errors-to-stderr.patch
new file mode 100644
index 0000000000..f0a93a8717
--- /dev/null
+++ b/package/opkg/patches/014-errors-to-stderr.patch
@@ -0,0 +1,15 @@
+--- a/libopkg/opkg_message.c
++++ b/libopkg/opkg_message.c
+@@ -64,10 +64,10 @@ print_error_list(void)
+ struct errlist *err = error_list_head;
+
+ if (err) {
+- printf("Collected errors:\n");
++ fprintf(stderr, "Collected errors:\n");
+ /* Here we print the errors collected and free the list */
+ while (err != NULL) {
+- printf(" * %s", err->errmsg);
++ fprintf(stderr, " * %s", err->errmsg);
+ err = err->next;
+ }
+ }