smbd: Use leases_db in lease_match()
[gd/samba-autobuild/.git] / lib / torture / subunit.c
index 46f1b65053ddc63833002011a8a2f0456f52d5fe..deb96ffa3a983d128d6bfdbe3ab78215858730b8 100644 (file)
@@ -62,9 +62,9 @@ static void torture_subunit_report_time(struct torture_context *tctx)
                return;
        }
 
-       tmp = localtime(&tp.tv_sec);
+       tmp = gmtime(&tp.tv_sec);
        if (!tmp) {
-               perror("localtime");
+               perror("gmtime");
                return;
        }