config.c: Fix format string error

This commit is contained in:
Jakob Pfender 2011-05-17 17:24:28 +02:00 committed by Vicent Marti
parent 4152a44bd8
commit 68384a27e5

View File

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