pass nill 2nd arg to gettimeofday()

This commit is contained in:
Jeff Hill
1996-07-09 22:41:02 +00:00
parent a8bf57750d
commit cdb0a5719b

View File

@@ -29,6 +29,9 @@
* Modification Log:
* -----------------
* $Log$
* Revision 1.18 1996/06/20 21:19:29 jhill
* fixed posix signal problem with "cc -Xc"
*
* Revision 1.17 1995/12/19 19:33:42 jhill
* added missing arg to execlp()
*
@@ -56,13 +59,12 @@
*/
void cac_gettimeval(struct timeval *pt)
{
struct timezone tz;
int status;
/*
* Not POSIX but available on most of the systems that we use
*/
status = gettimeofday(pt, &tz);
status = gettimeofday(pt, NULL);
assert(status == 0);
}