summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorjtb <jtb>2002-06-27 00:35:31 +0000
committerjtb <jtb>2002-06-27 00:35:31 +0000
commitda1a88d82529fe98f26c4bd0bc9b690721416b64 (patch)
tree555d87ba06ed6647ed17500ae0e25b5041ea3e56 /math
parent62edeabf1a79aab459e788486f68e6a1927c2707 (diff)
downloadpkgsrc-da1a88d82529fe98f26c4bd0bc9b690721416b64.tar.gz
Don't call the times() function with the argument NULL.
Diffstat (limited to 'math')
-rw-r--r--math/euler/patches/patch-aa4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/euler/patches/patch-aa b/math/euler/patches/patch-aa
index b303928e6ed..4dce05fe2bf 100644
--- a/math/euler/patches/patch-aa
+++ b/math/euler/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2002/05/04 01:49:11 jtb Exp $
+$NetBSD: patch-aa,v 1.2 2002/06/27 00:35:31 jtb Exp $
--- main.c.orig Wed Feb 20 08:59:59 2002
+++ main.c Thu Apr 25 10:42:10 2002
@@ -7,7 +7,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2002/05/04 01:49:11 jtb Exp $
return (t.tv_sec+t.tv_nsec/1000000000.0);
#else
- return ((double)(times(NULL)))/CLK_TCK;
-+ return (double)(clock());
++ return ((double)(times()))/CLK_TCK;
#endif
}