From c93f7e4f8c3035f3606ea0082e8c598ffe1232e5 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 16 Mar 2019 20:55:15 -0700 Subject: [PATCH] Core: fix missing argument to report_error The format requires a string argument. Found via LGTM.com Signed-off-by: Dirk Hohndel --- core/git-access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);