commit - 886cec1790573db31b16b89ed63a5608ea108bec
commit + 605229825077e78948f4223e88244a9b6e1797e4
blob - 3b52f434505244433a84adf2d60db49a8cf98271
blob + 26a2616570274af7c7fa7136499c336965d3176c
--- lib/worktree.c
+++ lib/worktree.c
f1 = fopen(f1_path, "r");
if (f1 == NULL)
- return got_error_from_errno2("open", f1_path);
+ return got_error_from_errno2("fopen", f1_path);
f2 = fopen(f2_path, "r");
if (f2 == NULL) {
- err = got_error_from_errno2("open", f2_path);
+ err = got_error_from_errno2("fopen", f2_path);
goto done;
}
f = fdopen(fd, "r");
if (f == NULL) {
- err = got_error_from_errno2("fopen", abspath);
+ err = got_error_from_errno2("fdopen", abspath);
goto done;
}
fd = -1;
f2 = fdopen(fd2, "r");
if (f2 == NULL) {
- err = got_error_from_errno2("fopen", path2);
+ err = got_error_from_errno2("fdopen", path2);
goto done;
}
fd2 = -1;