aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/opkg/patches/014-errors-to-stderr.patch
blob: f0a93a871776d669683167988388bd1b3b281bf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;
 		}
 	}