Typo? Why did this work, anyway?
authorBen Laurie <ben@openssl.org>
Sat, 8 Sep 2007 15:58:51 +0000 (15:58 +0000)
committerBen Laurie <ben@openssl.org>
Sat, 8 Sep 2007 15:58:51 +0000 (15:58 +0000)
apps/apps.c

index d2b0c56..7bac3f3 100644 (file)
@@ -2602,7 +2602,7 @@ double app_tminterval(int stop,int usertime)
        struct timeval  now;
        static struct timeval tmstart;
 
-       if (usertime)           getrusage(RUSAGE_SELF,&rus), now = rus.ru_time;
+       if (usertime)           getrusage(RUSAGE_SELF,&rus), now = rus.ru_utime;
        else                    gettimeofday(&now,NULL);
 
        if (stop==TM_START)     tmstart = now;