libopkg: clarify messages and errors related to downloads
[oweals/opkg-lede.git] / libopkg / opkg_message.c
index 7114e3af0f481a86e0d54c3acbf47861ad95b44d..2862ea6933b7f02c9959cd08e739b92ef58aceb2 100644 (file)
@@ -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;
                }
        }