copyattr: Fix error output

This commit is contained in:
Ingo Weinhold
2013-08-28 00:36:27 +02:00
parent be3833c9a4
commit 39d0e79f2b
+1 -1
View File
@@ -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);
}