summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: