From: Richard Jones Date: Mon, 22 Jun 2009 13:24:52 +0000 (+0100) Subject: Improve error message when appliance doesn't match library. X-Git-Tag: 1.0.51~4 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=3eab7260a5e36ce6da0dff39456eb9100a13222b;p=libguestfs.git Improve error message when appliance doesn't match library. --- diff --git a/daemon/stubs.c b/daemon/stubs.c index 2a6035c..af87a99 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 d639199..f4b5605 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";