Fix error introduced with gettimeofday removing + spelling mistake
Merge pull request #2727 from Atlante45/fix_error_from_remove_gettimeofday

Fix error introduced with gettimeofday removing + spelling mistake