summaryrefslogtreecommitdiffstats
path: root/daemon/proto.c
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-04-18 15:31:53 +0100
committerRichard Jones <rjones@redhat.com>2009-04-18 15:31:53 +0100
commitef499de8946cf4b8120ef7917b2e5d7f9115041f (patch)
tree8972aedf961b05a1d836ab15dcf946e837d12b42 /daemon/proto.c
parentad1d84a142169baaed293de71fb9430178d9f999 (diff)
downloadlibguestfs-ef499de8946cf4b8120ef7917b2e5d7f9115041f.tar.gz
libguestfs-ef499de8946cf4b8120ef7917b2e5d7f9115041f.tar.xz
libguestfs-ef499de8946cf4b8120ef7917b2e5d7f9115041f.zip
Separate out the high-level API actions.
- Split out the high-level API actions so that they are in a separate file, and use the defined guestfs C API, instead of fiddling around with internal structures.
Diffstat (limited to 'daemon/proto.c')
-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");