summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
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 42bc6eaa..76dce987 100644
--- a/daemon/proto.c
+++ b/daemon/proto.c
@@ -192,7 +192,7 @@ send_error (const char *msg)
exit (1);
}
- err.error = (char *) msg;
+ err.error_message = (char *) msg;
if (!xdr_guestfs_message_error (&xdr, &err)) {
fprintf (stderr, "guestfsd: failed to encode error message body\n");