From: VMware, Inc <> Date: Mon, 28 Sep 2009 20:22:44 +0000 (-0700) Subject: Return a better error when host fails the lowest version request. X-Git-Tag: p4-sync-929606~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0cf6d333c19c8ad8180242d185903b29b03c05ab;p=thirdparty%2Fopen-vm-tools.git Return a better error when host fails the lowest version request. Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/libguestlib/vmGuestLib.c b/open-vm-tools/libguestlib/vmGuestLib.c index db702bdc9..c8df827b9 100644 --- a/open-vm-tools/libguestlib/vmGuestLib.c +++ b/open-vm-tools/libguestlib/vmGuestLib.c @@ -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) { /*