From f222387533645689b8529235d5e6c77418064f9e Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Tue, 31 Aug 2010 11:30:17 +0200 Subject: s4: use GetTimeOfDay macro instead of gettimeofday --- source4/torture/libnet/userman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/libnet') diff --git a/source4/torture/libnet/userman.c b/source4/torture/libnet/userman.c index 13fc98dd48..ad4fa92f8c 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: -- cgit