[PATCH] testbot/testagentd: Fix the SetTime() RPC on Unix.
Francois Gouget
fgouget at codeweavers.com
Mon Oct 29 21:41:51 CDT 2018
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
testbot/src/testagentd/platform_unix.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testbot/src/testagentd/platform_unix.c b/testbot/src/testagentd/platform_unix.c
index 7a3a8f8e0a..560d1210ee 100644
--- a/testbot/src/testagentd/platform_unix.c
+++ b/testbot/src/testagentd/platform_unix.c
@@ -231,7 +231,7 @@ int platform_settime(uint64_t epoch, uint32_t leeway)
tv.tv_sec = epoch;
tv.tv_usec = 0;
- if (!settimeofday(&tv, NULL))
+ if (settimeofday(&tv, NULL))
{
set_status(ST_ERROR, "failed to set the time: %s", strerror(errno));
return 0;
--
2.19.1
More information about the wine-devel
mailing list