diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-03-16 20:55:15 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-03-17 11:23:49 -0700 |
commit | 87eb95d004e48f9db285f6ef83b70836c6afc02e (patch) | |
tree | 29958deb01ea048f80ace984458ff2d79874c9f2 | |
parent | 3d193c7fdb6d29cb94a50e2169d0361a2fde087e (diff) | |
download | subsurface-87eb95d004e48f9db285f6ef83b70836c6afc02e.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>
-rw-r--r-- | core/git-access.c | 2 |
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); |