\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>
This commit is contained in:
Alex Riesen
2005-12-15 08:47:30 +01:00
committed by Junio C Hamano
parent f4a11066cf
commit 7246ed438c
5 changed files with 9 additions and 9 deletions

View File

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