summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-08-31 11:30:17 +0200
committerBjörn Jacke <bj@sernet.de>2010-08-31 11:33:22 +0200
commitf222387533645689b8529235d5e6c77418064f9e (patch)
tree2bac83aa144a910fc23c1bc67f4ccb1030b107ca
parent7eff519703f15d123c9b256a674b1c6ad8c84446 (diff)
downloadsamba-f222387533645689b8529235d5e6c77418064f9e.tar.gz
samba-f222387533645689b8529235d5e6c77418064f9e.tar.bz2
samba-f222387533645689b8529235d5e6c77418064f9e.zip
s4: use GetTimeOfDay macro instead of gettimeofday
-rw-r--r--source4/torture/libnet/userman.c2
1 files changed, 1 insertions, 1 deletions
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: