Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix build
Bryan Drewery committed 12 years ago
commit 3ca6e5d47e3ec35d653145bfd5a84498e37039bf
parent 73996e5
1 file changed +2 -2
modified libpkg/update.c
@@ -358,7 +358,7 @@ repo_archive_extract_file(int fd, const char *file, const char *dest, struct pkg
		/* load fingerprints */
		snprintf(path, MAXPATHLEN, "%s/trusted", pkg_repo_fingerprints(repo));
		if ((trusted = load_fingerprints(path)) == NULL) {
-
			pmg_emit_error("Error loading trusted certificates");
+
			pkg_emit_error("Error loading trusted certificates");
			rc = EPKG_FATAL;
			goto cleanup;
		}
@@ -371,7 +371,7 @@ repo_archive_extract_file(int fd, const char *file, const char *dest, struct pkg

		snprintf(path, MAXPATHLEN, "%s/revoked", pkg_repo_fingerprints(repo));
		if ((revoked = load_fingerprints(path)) == NULL) {
-
			pmg_emit_error("Error loading revoked certificates");
+
			pkg_emit_error("Error loading revoked certificates");
			rc = EPKG_FATAL;
			goto cleanup;
		}