mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-21 18:24:43 +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;
|
num *= 1024 * 1024 * 1024;
|
||||||
break;
|
break;
|
||||||
default:
|
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;
|
*out = num;
|
||||||
|
Loading…
Reference in New Issue
Block a user