summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-03-16 20:55:15 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-04 15:04:59 -0700
commitc93f7e4f8c3035f3606ea0082e8c598ffe1232e5 (patch)
tree3675d67ba1617927f3019f3f724ec514ad927822 /core
parent9fefd1039055bdf7561d17b4d12a16cf9c5d63ab (diff)
downloadsubsurface-c93f7e4f8c3035f3606ea0082e8c598ffe1232e5.tar.gz
Core: fix missing argument to report_error
The format requires a string argument. Found via LGTM.com Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core')
-rw-r--r--core/git-access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/git-access.c b/core/git-access.c
index d71bed797..38fba9a5f 100644
--- a/core/git-access.c
+++ b/core/git-access.c
@@ -836,7 +836,7 @@ static struct git_repository *get_remote_repo(const char *localdir, const char *
if (is_subsurface_cloud)
(void)cleanup_local_cache(remote, branch);
else
- report_error("local git cache at '%s' is corrupt");
+ report_error("local git cache at '%s' is corrupt", localdir);
return NULL;
}
return update_local_repo(localdir, remote, branch, rt);