Skip to content

Commit

Permalink
Correct error message to use the right types.
Browse files Browse the repository at this point in the history
  • Loading branch information
brd committed Feb 15, 2018
1 parent 6f17a9c commit 8552aae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libpkg/pkg_add.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8552aae

Please sign in to comment.