copyattr: Fix error output
This commit is contained in:
parent
be3833c9a4
commit
39d0e79f2b
@ -408,7 +408,7 @@ copy_entry(const char *sourcePath, const char *destPath,
|
||||
sizeof(linkTo) - 1);
|
||||
if (bytesRead < 0) {
|
||||
fprintf(stderr, "Error: Failed to read symlink \"%s\": %s\n",
|
||||
sourcePath, strerror(error));
|
||||
sourcePath, strerror(errno));
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user