X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ftimes.c;h=c290ba39f31933453e7b752e773d1ade88fd86b6;hb=46380c372f75d7a8609c6646e48099a9b84f7ec2;hp=f71889a43ee80d82c3cee8e06ae13f6488074aab;hpb=66de54f8a195583a3e324df9b8072faab7b76561;p=gnulib.git diff --git a/lib/times.c b/lib/times.c index f71889a43..c290ba39f 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-2011 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 @@ -55,7 +55,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);