From: VMware, Inc <> Date: Tue, 29 Mar 2011 20:06:31 +0000 (-0700) Subject: Return invalid handle error when hgfs guest uses stale handle. X-Git-Tag: 2011.03.28-387002~52 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ab5969419e270ddd67b351608cd28ea359ac9e7e;p=thirdparty%2Fopen-vm-tools.git Return invalid handle error when hgfs guest uses stale handle. Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/lib/include/hgfsUtil.h b/open-vm-tools/lib/include/hgfsUtil.h index ef9096d5e..0e1ac4dfd 100644 --- a/open-vm-tools/lib/include/hgfsUtil.h +++ b/open-vm-tools/lib/include/hgfsUtil.h @@ -110,7 +110,7 @@ struct timespec { #define HGFS_ERROR_IO EIO #define HGFS_ERROR_ACCESS_DENIED EACCES #define HGFS_ERROR_INVALID_PARAMETER EINVAL -#define HGFS_ERROR_INVALID_HANDLE EINVAL +#define HGFS_ERROR_INVALID_HANDLE EBADF #define HGFS_ERROR_PROTOCOL EPROTO #define HGFS_ERROR_STALE_SESSION ENETRESET #define HGFS_ERROR_BUSY EBUSY