diff options
Diffstat (limited to 'libstdc++-v3/src/chrono.cc')
-rw-r--r-- | libstdc++-v3/src/chrono.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/src/chrono.cc b/libstdc++-v3/src/chrono.cc index 422b97399ac..6d7a64d0080 100644 --- a/libstdc++-v3/src/chrono.cc +++ b/libstdc++-v3/src/chrono.cc @@ -1,6 +1,6 @@ // chrono -*- C++ -*- -// Copyright (C) 2008, 2009 Free Software Foundation, Inc. +// Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -51,7 +51,7 @@ namespace std #elif defined(_GLIBCXX_USE_GETTIMEOFDAY) timeval tv; // EINVAL, EFAULT - gettimeofday(&tv, NULL); + gettimeofday(&tv, 0); return time_point(duration(chrono::seconds(tv.tv_sec) + chrono::microseconds(tv.tv_usec))); #else |