diff options
author | Richard Jones <rjones@trick.home.annexia.org> | 2009-06-22 14:24:52 +0100 |
---|---|---|
committer | Richard Jones <rjones@trick.home.annexia.org> | 2009-06-22 14:24:52 +0100 |
commit | 3eab7260a5e36ce6da0dff39456eb9100a13222b (patch) | |
tree | c1b87f59ddf61054c7b45f51311e65ad51e9033f | |
parent | ca4a0c718083db4485edebe4d1b931090e098fa5 (diff) | |
download | libguestfs-3eab7260a5e36ce6da0dff39456eb9100a13222b.tar.gz libguestfs-3eab7260a5e36ce6da0dff39456eb9100a13222b.tar.xz libguestfs-3eab7260a5e36ce6da0dff39456eb9100a13222b.zip |
Improve error message when appliance doesn't match library.
-rw-r--r-- | daemon/stubs.c | 2 | ||||
-rwxr-xr-x | src/generator.ml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/daemon/stubs.c b/daemon/stubs.c index 2a6035cf..af87a994 100644 --- a/daemon/stubs.c +++ b/daemon/stubs.c @@ -3197,7 +3197,7 @@ void dispatch_incoming_message (XDR *xdr_in) glob_expand_stub (xdr_in); break; default: - reply_with_error ("dispatch_incoming_message: unknown procedure number %d", proc_nr); + reply_with_error ("dispatch_incoming_message: unknown procedure number %d, set LIBGUESTFS_PATH to point to the matching libguestfs appliance directory", proc_nr); } } diff --git a/src/generator.ml b/src/generator.ml index d639199f..f4b56050 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -3686,7 +3686,7 @@ and generate_daemon_actions () = ) daemon_functions; pr " default:\n"; - pr " reply_with_error (\"dispatch_incoming_message: unknown procedure number %%d\", proc_nr);\n"; + pr " reply_with_error (\"dispatch_incoming_message: unknown procedure number %%d, set LIBGUESTFS_PATH to point to the matching libguestfs appliance directory\", proc_nr);\n"; pr " }\n"; pr "}\n"; pr "\n"; |