From f222387533645689b8529235d5e6c77418064f9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Jacke?= Date: Tue, 31 Aug 2010 11:30:17 +0200 Subject: [PATCH] s4: use GetTimeOfDay macro instead of gettimeofday --- source4/torture/libnet/userman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/torture/libnet/userman.c b/source4/torture/libnet/userman.c index 13fc98dd48c..ad4fa92f8cd 100644 --- a/source4/torture/libnet/userman.c +++ b/source4/torture/libnet/userman.c @@ -115,7 +115,7 @@ static bool test_usermod(struct torture_context *tctx, struct dcerpc_pipe *p, testfld = (random() % USER_FIELD_LAST) + 1; - gettimeofday(&now, NULL); + GetTimeOfDay(&now); switch (testfld) { case acct_name: