summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-03-27 11:02:03 +0000
committerRichard Jones <rjones@redhat.com>2010-03-27 11:11:30 +0000
commitf826ce4876135a8abb72383aa5a5681f045f5367 (patch)
treed35630ef3e07403126c1c8299a6bc2f13dec817b /daemon
parentef3a6692412b234a46326d330943556977f7c988 (diff)
downloadlibguestfs-f826ce4876135a8abb72383aa5a5681f045f5367.tar.gz
libguestfs-f826ce4876135a8abb72383aa5a5681f045f5367.tar.xz
libguestfs-f826ce4876135a8abb72383aa5a5681f045f5367.zip
Fix the error message when reply body is too large (RHBZ#509597).
Diffstat (limited to 'daemon')
-rw-r--r--daemon/proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/proto.c b/daemon/proto.c
index 1ad9d111..0002d80a 100644
--- a/daemon/proto.c
+++ b/daemon/proto.c
@@ -289,7 +289,7 @@ reply (xdrproc_t xdrp, char *ret)
* we want to return an error message instead. (RHBZ#509597).
*/
if (!(*xdrp) (&xdr, ret)) {
- reply_with_perror ("guestfsd: failed to encode reply body\n");
+ reply_with_error ("guestfsd: failed to encode reply body\n(maybe the reply exceeds the maximum message size in the protocol?)");
xdr_destroy (&xdr);
return;
}