jcs
/amend
/amendments
/175
repo: PtoCstr on file path string
jcs made amendment 175 24 days ago
--- repo.c Mon Sep 28 14:26:56 2026
+++ repo.c Mon Sep 28 14:29:23 2026
@@ -678,7 +678,7 @@ repo_get_file_attrs(struct repo *repo, Str255 filename
getpath(repo->bile->vrefnum, filename, &filepath, true);
error = FStat(filepath, &sb);
if (error) {
- warn("Failed to stat %s", filepath);
+ warn("Failed to stat %s", PtoCstr(filepath));
return -1;
}