diff options
author | Alex Riesen <raa.lkml@gmail.com> | 2005-12-15 08:47:30 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-12-21 23:09:40 -0800 |
commit | 7246ed438c541650c2cd50e4e98b43226f60da0c (patch) | |
tree | f7b8899038e9434ce77fe7db3ca7ccf80747b2f7 /config.c | |
parent | sanity check in add_packed_git() (diff) | |
download | tgif-7246ed438c541650c2cd50e4e98b43226f60da0c.tar.xz |
\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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |