From bd757c18597789d4f01cbd2ffc7c1f55e90cfcd0 Mon Sep 17 00:00:00 2001 From: Thiago Farina Date: Sun, 3 Jan 2010 11:20:30 -0500 Subject: Use warning function instead of fprintf(stderr, "Warning: ..."). Signed-off-by: Thiago Farina Signed-off-by: Junio C Hamano --- bisect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bisect.c') diff --git a/bisect.c b/bisect.c index dc18db8af9..f1a1f84aa0 100644 --- a/bisect.c +++ b/bisect.c @@ -813,11 +813,11 @@ static void handle_skipped_merge_base(const unsigned char *mb) char *bad_hex = sha1_to_hex(current_bad_sha1); char *good_hex = join_sha1_array_hex(&good_revs, ' '); - fprintf(stderr, "Warning: the merge base between %s and [%s] " + warning("the merge base between %s and [%s] " "must be skipped.\n" "So we cannot be sure the first bad commit is " "between %s and %s.\n" - "We continue anyway.\n", + "We continue anyway.", bad_hex, good_hex, mb_hex, bad_hex); free(good_hex); } -- cgit v1.2.1