X-Git-Url: https://git.librecmc.org/?p=oweals%2Fopkg-lede.git;a=blobdiff_plain;f=libopkg%2Fopkg_install.c;h=85159bf207a15cb0e7bc7a883528bf2cb365c4dd;hp=55c124b3797f4c0c9737d5fa33628e7b0ab3760d;hb=9396bd4a4c84bde6b55ac3c47c90b4804e51adaf;hpb=98ce8c256f3c430bc0077a20cbd041b3f36c177a diff --git a/libopkg/opkg_install.c b/libopkg/opkg_install.c index 55c124b..85159bf 100644 --- a/libopkg/opkg_install.c +++ b/libopkg/opkg_install.c @@ -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) {