opkg: remove some printfs and replace with opkg_message where appropriate
[oweals/opkg-lede.git] / libopkg / opkg_configure.c
index 94d37c28a320d0d026d74511a6967a5f7a6cc293..34a5d6fc4b21555026958f9b97b589fcf10fe3b6 100644 (file)
@@ -37,7 +37,7 @@ int opkg_configure(opkg_conf_t *conf, pkg_t *pkg)
 
     err = pkg_run_script(conf, pkg, "postinst", "configure");
     if (err) {
-       printf("ERROR: %s.postinst returned %d\n", pkg->name, err);
+       opkg_message(conf, OPKG_ERROR, "ERROR: %s.postinst returned %d\n", pkg->name, err);
        return err;
     }