Output the who_am_i() info in the "unknown message" error.
authorWayne Davison <wayned@samba.org>
Tue, 28 Mar 2006 06:12:18 +0000 (06:12 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 28 Mar 2006 06:12:18 +0000 (06:12 +0000)
io.c

diff --git a/io.c b/io.c
index 9ddf125..09aab91 100644 (file)
--- a/io.c
+++ b/io.c
@@ -333,7 +333,8 @@ static void read_msg_fd(void)
                }
                break;
        default:
-               rprintf(FERROR, "unknown message %d:%d\n", tag, len);
+               rprintf(FERROR, "unknown message %d:%d [%s]\n",
+                       tag, len, who_am_i());
                exit_cleanup(RERR_STREAMIO);
        }