From: VMware, Inc <> Date: Tue, 26 Apr 2011 21:11:55 +0000 (-0700) Subject: Fix Mac OS obj build X-Git-Tag: 2011.04.25-402641~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=16fe2017ddc83a2f70d0bba425bb2785d59f1d8c;p=thirdparty%2Fopen-vm-tools.git Fix Mac OS obj build Name length is not a size_t here, it's a uint32. Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/lib/hgfsServer/hgfsServer.c b/open-vm-tools/lib/hgfsServer/hgfsServer.c index b8a217b70..1dee2c5b1 100644 --- a/open-vm-tools/lib/hgfsServer/hgfsServer.c +++ b/open-vm-tools/lib/hgfsServer/hgfsServer.c @@ -7444,7 +7444,7 @@ HgfsGetDirEntry(HgfsHandle hgfsSearchHandle, // IN: ID for search data *nameLength = length; } infoRetrieved |= HGFS_SEARCH_READ_NAME; - LOG(4, ("%s: dent name is \"%s\" len = %"FMTSZ"u\n", __FUNCTION__, + LOG(4, ("%s: dent name is \"%s\" len = %u\n", __FUNCTION__, *entryName, *nameLength)); } else { *entryName = NULL;