summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorAlex Riesen <raa.lkml@gmail.com>2005-12-15 08:47:30 +0100
committerJunio C Hamano <junkio@cox.net>2005-12-21 23:09:40 -0800
commit7246ed438c541650c2cd50e4e98b43226f60da0c (patch)
treef7b8899038e9434ce77fe7db3ca7ccf80747b2f7 /config.c
parentf4a11066cfb70c49fddbca7f95aa0fedcee53cca (diff)
downloadgit-7246ed438c541650c2cd50e4e98b43226f60da0c.tar.gz
\n usage in stderr output
fprintf and die sometimes have missing/excessive "\n" in their arguments, correct the strings where I think it would be appropriate. Signed-off-by: Alex Riesen <raa.lkml@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index 5b5a9a2e4c..992e988407 100644
--- a/config.c
+++ b/config.c
@@ -487,7 +487,7 @@ int git_config_set_multivar(const char* key, const char* value,
store.value_regex = (regex_t*)malloc(sizeof(regex_t));
if (regcomp(store.value_regex, value_regex,
REG_EXTENDED)) {
- fprintf(stderr, "Invalid pattern: %s",
+ fprintf(stderr, "Invalid pattern: %s\n",
value_regex);
free(store.value_regex);
return 6;