]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Return a better error when host fails the lowest version request.
authorVMware, Inc <>
Mon, 28 Sep 2009 20:22:44 +0000 (13:22 -0700)
committerMarcelo Vanzin <mvanzin@vmware.com>
Mon, 28 Sep 2009 20:22:44 +0000 (13:22 -0700)
Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/libguestlib/vmGuestLib.c

index db702bdc95afadc4ac6e1ce26f7943d4a2b0bd30..c8df827b900aa69f0e132d85b8e7f25b076b2bef 100644 (file)
@@ -405,7 +405,7 @@ VMGuestLibUpdateInfo(VMGuestLibHandle handle) // IN
           * XXX: Maybe use another error code for this case where the host
           * product doesn't support this feature?
           */
-         ret = VMGUESTLIB_ERROR_UNSUPPORTED_VERSION;
+         ret = VMGUESTLIB_ERROR_NOT_ENABLED;
          break;
       } else if (hostVersion == 3) {
          /*