Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
derp: perror format
  • Loading branch information
PhilZ-cwm6 committed Aug 9, 2014
1 parent 7dee80e commit 58544dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libtar/lib/extract.c
Expand Up @@ -147,13 +147,13 @@ tar_extract_file(TAR *t, const char *realname)
i = tar_extract_regfile(t, realname);

if (i != 0) {
perror("FAILED RESTORE OF FILE i: %s\n", realname);
fprintf(stderr, "Failed restore of file i: %s\n", realname);
return i;
}

i = tar_set_file_perms(t, realname);
if (i != 0) {
perror("FAILED SETTING PERMS: %d\n", i);
fprintf(stderr, "Failed Setting perms: %d\n", i);
return i;
}

Expand Down

0 comments on commit 58544dc

Please sign in to comment.