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 60948e2..6f68f56 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);
        }