Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Correct error message to use the right types.
Brad Davis committed 8 years ago
commit 8552aae4d965dbc0979e5ade07678c3e06d3f202
parent 6f17a9c
1 file changed +2 -2
modified libpkg/pkg_add.c
@@ -675,12 +675,12 @@ do_extract(struct archive *a, struct archive_entry *ae,
			goto cleanup;
			break;
		case AE_IFIFO:
-
			pkg_emit_error("Archive contains an unsupported filetype (AE_IFFIFO): %s", path);
+
			pkg_emit_error("Archive contains an unsupported filetype (AE_IFIFO): %s", path);
			retcode = EPKG_FATAL;
			goto cleanup;
			break;
		case AE_IFBLK:
-
			pkg_emit_error("Archive contains an unsupported filetype (AE_IFFIFO): %s", path);
+
			pkg_emit_error("Archive contains an unsupported filetype (AE_IFBLK): %s", path);
			retcode = EPKG_FATAL;
			goto cleanup;
			break;