Mention who is outputting the "rsync error" or "rsync warning".

This commit is contained in:
Wayne Davison
2006-02-03 20:39:58 +00:00
parent 49f4d850ce
commit fa9e950b1a

8
log.c
View File

@@ -733,11 +733,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)\n",
name, code, file, line);
rprintf(FINFO, "rsync warning: %s (code %d) at %s(%d) [%s]\n",
name, code, file, line, who_am_i());
} else {
rprintf(FERROR, "rsync error: %s (code %d) at %s(%d)\n",
name, code, file, line);
rprintf(FERROR, "rsync error: %s (code %d) at %s(%d) [%s]\n",
name, code, file, line, who_am_i());
}
}
}