mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-21 13:02:38 +00:00
config.c: Fix format string error
This commit is contained in:
parent
4152a44bd8
commit
68384a27e5
@ -248,7 +248,7 @@ int git_config_get_long(git_config *cfg, const char *name, long int *out)
|
||||
num *= 1024 * 1024 * 1024;
|
||||
break;
|
||||
default:
|
||||
return git__throw(GIT_EINVALIDTYPE, "Failed to get value for %s. Value is of invalid type");
|
||||
return git__throw(GIT_EINVALIDTYPE, "Failed to get value for %s. Value is of invalid type", name);
|
||||
}
|
||||
|
||||
*out = num;
|
||||
|
Loading…
Reference in New Issue
Block a user