From 2904454f3408a3abe3f2b0681504a66ea5ce713c Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 24 Mar 2021 17:36:26 -0400
Subject: [PATCH] hgfsServerLinux: Consider 64bit time_t possibility

Upstream-Status: Pending

Refit for open-vm-tools-11.2.5.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
---
 open-vm-tools/lib/hgfsServer/hgfsServerLinux.c | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c b/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c
index 0cc7c4094..445a53881 100644
--- a/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c
+++ b/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c
@@ -2559,20 +2559,6 @@ HgfsStatToFileAttr(struct stat *stats,       // IN: stat information
    LOG(4, "%s: done, permissions %o%o%o%o, size %"FMT64"u\n", __FUNCTION__,
        attr->specialPerms, attr->ownerPerms, attr->groupPerms,
        attr->otherPerms, attr->size);
-#ifdef __FreeBSD__
-#   if !defined(VM_X86_64) && !defined(VM_ARM_64)
-#      define FMTTIMET ""
-#   else
-#      define FMTTIMET "l"
-#   endif
-#else
-#   define FMTTIMET "l"
-#endif
-   LOG(4, "access: %"FMTTIMET"d/%"FMT64"u \nwrite: %"FMTTIMET"d/%"FMT64"u \n"
-       "attr: %"FMTTIMET"d/%"FMT64"u\n",
-       stats->st_atime, attr->accessTime, stats->st_mtime, attr->writeTime,
-       stats->st_ctime, attr->attrChangeTime);
-#undef FMTTIMET
 
    attr->userId = stats->st_uid;
    attr->groupId = stats->st_gid;
-- 
2.25.1

