Commit Diff


commit - d0710d08dc4faf1066d94a92bf8ee0578a6d9073
commit + 62550b1381d59589726532682b983d836491cc82
blob - 6ea6d7bebdac0acf0c5b36dd4fb07f6b02579e12
blob + 20596a1c35bf80f27f299cb0900ceb960491eefa
--- lib/repository.c
+++ lib/repository.c
@@ -372,7 +372,7 @@ got_repo_open(struct got_repository **repop, const cha
 
 	path = realpath(abspath, NULL);
 	if (path == NULL) {
-		err = got_error_from_errno2("realpath", path);
+		err = got_error_from_errno2("realpath", abspath);
 		goto done;
 	}