X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ftimes.c;h=ee0ef70e93cff09d57ed1e9c83b8adafa1f3601b;hb=96f023c5e537dd4afbdb294de7065f65effe3eb2;hp=f71889a43ee80d82c3cee8e06ae13f6488074aab;hpb=66de54f8a195583a3e324df9b8072faab7b76561;p=gnulib.git diff --git a/lib/times.c b/lib/times.c index f71889a43..ee0ef70e9 100644 --- a/lib/times.c +++ b/lib/times.c @@ -1,6 +1,6 @@ /* Get process times - Copyright (C) 2008 Free Software Foundation, Inc. + Copyright (C) 2008-2012 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -13,8 +13,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + along with this program; if not, see . */ /* Written by Simon Josefsson , 2008. */ @@ -55,7 +54,7 @@ times (struct tms * buffer) FILETIME creation_time, exit_time, kernel_time, user_time; if (GetProcessTimes (GetCurrentProcess (), &creation_time, &exit_time, - &kernel_time, &user_time) == 0) + &kernel_time, &user_time) == 0) return (clock_t) -1; buffer->tms_utime = filetime2clock (user_time);