[pypy-svn] r70085 - pypy/trunk/pypy/translator/c/src

arigo at codespeak.net arigo at codespeak.net
Sun Dec 13 17:05:14 CET 2009


Author: arigo
Date: Sun Dec 13 17:05:13 2009
New Revision: 70085

Modified:
   pypy/trunk/pypy/translator/c/src/debug.h
Log:
Bah.


Modified: pypy/trunk/pypy/translator/c/src/debug.h
==============================================================================
--- pypy/trunk/pypy/translator/c/src/debug.h	(original)
+++ pypy/trunk/pypy/translator/c/src/debug.h	Sun Dec 13 17:05:13 2009
@@ -131,7 +131,7 @@
 #    else
        /* argh, we don't seem to have clock_gettime().  Bad OS. */
        struct timeval tv;
-       gettimeofday(tv, NULL);
+       gettimeofday(&tv, NULL);
        return ((long long)tv.tv_sec) * 1000000LL + tv.tv_usec;
 #    endif
      }



More information about the Pypy-commit mailing list