s4: use GetTimeOfDay macro instead of gettimeofday
authorBjörn Jacke <bj@sernet.de>
Tue, 31 Aug 2010 09:30:17 +0000 (11:30 +0200)
committerBjörn Jacke <bj@sernet.de>
Tue, 31 Aug 2010 09:33:22 +0000 (11:33 +0200)
source4/torture/libnet/userman.c

index 13fc98dd48c233942b74da9e8ed588945a9b5b4e..ad4fa92f8cdcc34fe178cc15fd9e24dea44012e8 100644 (file)
@@ -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: