libopkg: store checksums in binary form, use integer index for architecture
[oweals/opkg-lede.git] / libopkg / opkg_install.c
index 55c124b3797f4c0c9737d5fa33628e7b0ab3760d..85159bf207a15cb0e7bc7a883528bf2cb365c4dd 100644 (file)
@@ -1285,7 +1285,7 @@ int opkg_install_pkg(pkg_t * pkg, int from_upgrade)
        if (!pkg_arch_supported(pkg)) {
                opkg_msg(ERROR,
                         "INTERNAL ERROR: architecture %s for pkg %s is unsupported.\n",
-                        pkg_get_string(pkg, PKG_ARCHITECTURE), pkg->name);
+                        pkg_get_architecture(pkg), pkg->name);
                return -1;
        }
        if (pkg->state_status == SS_INSTALLED && conf->nodeps == 0) {