From f826ce4876135a8abb72383aa5a5681f045f5367 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Sat, 27 Mar 2010 11:02:03 +0000 Subject: [PATCH] Fix the error message when reply body is too large (RHBZ#509597). --- daemon/proto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/proto.c b/daemon/proto.c index 1ad9d11..0002d80 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; } -- 1.8.3.1