packages: clean up the package folder
[openwrt/openwrt.git] / package / system / opkg / patches / 014-errors-to-stderr.patch
1 --- a/libopkg/opkg_message.c
2 +++ b/libopkg/opkg_message.c
3 @@ -64,10 +64,10 @@ print_error_list(void)
4 struct errlist *err = error_list_head;
5
6 if (err) {
7 - printf("Collected errors:\n");
8 + fprintf(stderr, "Collected errors:\n");
9 /* Here we print the errors collected and free the list */
10 while (err != NULL) {
11 - printf(" * %s", err->errmsg);
12 + fprintf(stderr, " * %s", err->errmsg);
13 err = err->next;
14 }
15 }