]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Mention who got the unknown logcode.
authorWayne Davison <wayned@samba.org>
Sun, 8 Nov 2009 19:50:43 +0000 (11:50 -0800)
committerWayne Davison <wayned@samba.org>
Sun, 8 Nov 2009 19:50:43 +0000 (11:50 -0800)
log.c

diff --git a/log.c b/log.c
index 60948e2fa2e05576377fd03d7c28721e04f0cec9..6f68f5696464cb1b42887d56546c9072bdba5c13 100644 (file)
--- a/log.c
+++ b/log.c
@@ -346,7 +346,7 @@ output_msg:
        case FCLIENT:
                break;
        default:
-               fprintf(stderr, "Unknown logcode in rwrite(): %d\n", (int)code);
+               fprintf(stderr, "Unknown logcode in rwrite(): %d [%s]\n", (int)code, who_am_i());
                exit_cleanup(RERR_MESSAGEIO);
        }