summaryrefslogtreecommitdiff
path: root/src/config.c
diff options
context:
space:
mode:
authorJakob Pfender <jpfender@elegosoft.com>2011-05-17 17:24:28 +0200
committerVicent Marti <tanoku@gmail.com>2011-05-23 20:45:13 +0300
commit68384a27e5780fa36e62850d72806e41b3423e6b (patch)
tree7007830f157602cb4d2aee02f494c4882fa80797 /src/config.c
parent4152a44bd87fc56fe75287e8e6551d903f7236dd (diff)
downloadlibgit2-68384a27e5780fa36e62850d72806e41b3423e6b.tar.gz
config.c: Fix format string error
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c
index 2ee49e0c9..29b9b799f 100644
--- a/src/config.c
+++ b/src/config.c
@@ -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;