From 43eae40e4590119df81d70ecfac70b3360739016 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Tue, 28 Mar 2006 18:23:24 +0000 Subject: [PATCH] Include the version number when we exit with an error or warning. --- log.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/log.c b/log.c index 034aaccb..135a57a1 100644 --- a/log.c +++ b/log.c @@ -769,11 +769,11 @@ void log_exit(int code, const char *file, int line) /* VANISHED is not an error, only a warning */ if (code == RERR_VANISHED) { - rprintf(FINFO, "rsync warning: %s (code %d) at %s(%d) [%s]\n", - name, code, file, line, who_am_i()); + rprintf(FINFO, "rsync warning: %s (code %d) at %s(%d) [%s=%s]\n", + name, code, file, line, who_am_i(), RSYNC_VERSION); } else { - rprintf(FERROR, "rsync error: %s (code %d) at %s(%d) [%s]\n", - name, code, file, line, who_am_i()); + rprintf(FERROR, "rsync error: %s (code %d) at %s(%d) [%s=%s]\n", + name, code, file, line, who_am_i(), RSYNC_VERSION); } } } -- 2.34.1