summaryrefslogtreecommitdiffstats
path: root/libopkg/pkg_hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'libopkg/pkg_hash.c')
-rw-r--r--libopkg/pkg_hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopkg/pkg_hash.c b/libopkg/pkg_hash.c
index e02e1f2..3259eef 100644
--- a/libopkg/pkg_hash.c
+++ b/libopkg/pkg_hash.c
@@ -256,7 +256,7 @@ pkg_hash_fetch_best_installation_candidate(opkg_conf_t *conf,
{
opkg_message (conf, OPKG_ERROR, "Packages were found, but none compatible with the architectures configured\n");
if (err)
- *err = OPKG_PKG_HAS_NO_AVAILABLE_ARCH;
+ *err = -1;
}
}
}