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>
This commit is contained in:
Dirk Hohndel 2019-03-16 20:55:15 -07:00
parent 3d193c7fdb
commit 87eb95d004

View file

@ -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);