Remove enum opkg_error.
[oweals/opkg-lede.git] / libopkg / pkg_hash.c
index e02e1f25ce4db9d2281341b54fd47902a61242b3..3259eef6c39a116fb9f393b2c46096592f86348f 100644 (file)
@@ -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)
                {
                  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;
                }
          }
      }
                }
          }
      }