aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-03-28 06:12:18 +0000
committerWayne Davison <wayned@samba.org>2006-03-28 06:12:18 +0000
commitf8b9da1a2c4c2a70b73dc408e2e7c6393c400df4 (patch)
treed34b601c297e400001a6988dfcb14ec19991fa9f /io.c
parent3c987ee956c98093d8033499d79a3fb558578f1b (diff)
downloadandroid_external_rsync-f8b9da1a2c4c2a70b73dc408e2e7c6393c400df4.tar.gz
android_external_rsync-f8b9da1a2c4c2a70b73dc408e2e7c6393c400df4.tar.bz2
android_external_rsync-f8b9da1a2c4c2a70b73dc408e2e7c6393c400df4.zip
Output the who_am_i() info in the "unknown message" error.
Diffstat (limited to 'io.c')
-rw-r--r--io.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/io.c b/io.c
index 9ddf1253..09aab912 100644
--- 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);
}