From patchwork Fri Jun 1 17:08:27 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: rbmj X-Patchwork-Id: 162356 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 1B518B6FD1 for ; Sat, 2 Jun 2012 03:09:06 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1339175347; h=Comment: DomainKey-Signature:Received:Received:Received:Received: Message-id:Date:From:User-Agent:MIME-version:To:Subject: Content-type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=cxqR/9/ 9F5bE6j+PgfI/Tp6LXEA=; b=e4sES4NJ3b7t/u+1b1WUEl5tUSK82UZ1ePPNRL1 a381coCjgj3my88/Pqe2IgqjOd85FNJkIayH1U4KEhqqPitM7/6PR95JsFP7i9uW jWtyCXmLp7T1WepIW9WPv+ip4hdJLqz2mpSgFwV5Ua7F7grxp3yu58spHPRFOepM qDNw= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Message-id:Date:From:User-Agent:MIME-version:To:Subject:Content-type:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=JIJTxD39M9Zh/4MX9YfZ5B5zUujKyk5mqJf/l6aC4+OpRQPfKxoFJMv39R6FFZ 18OHL6D9SCMnIxhMaXBmGwTFWuRKkdfQF/texf0QzQwNVWj03z1X/nGx7uzlZRJa D87u3k5j8MyBj62pyAiQmdRpnTnLD7u7qFFdPHn1wvJZA=; Received: (qmail 16531 invoked by alias); 1 Jun 2012 17:08:57 -0000 Received: (qmail 16506 invoked by uid 22791); 1 Jun 2012 17:08:55 -0000 X-SWARE-Spam-Status: No, hits=2.4 required=5.0 tests=AWL, BAYES_00, BOTNET, MANY_HDRS_LCASE, RCVD_IN_DNSWL_NONE, RCVD_IN_HOSTKARMA_NO, RCVD_IN_HOSTKARMA_YE, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from vms173013pub.verizon.net (HELO vms173013pub.verizon.net) (206.46.173.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 01 Jun 2012 17:08:41 +0000 Received: from [10.97.33.69] ([unknown] [151.188.105.156]) by vms173013.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0M4Y00MPI7M36RK0@vms173013.mailsrvcs.net>; Fri, 01 Jun 2012 12:08:27 -0500 (CDT) Message-id: <4FC8F70B.1090403@verizon.net> Date: Fri, 01 Jun 2012 13:08:27 -0400 From: rbmj User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-version: 1.0 To: gcc-patches@gcc.gnu.org, fortran@gcc.gnu.org Subject: Fix typo in intrinsics/time_1.h Content-type: multipart/mixed; boundary=------------080400050104070108020803 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hi all, In libgfortran/intrinsics/time_1.h:181, there is a typo that refers to user_usecs (should be user_usec). This patch fixes it. I don't have commit access, so someone please apply this for me. It should be obvious. Robert Mason diff --git a/libgfortran/intrinsics/time_1.h b/libgfortran/intrinsics/time_1.h index 98a20d2..920b175 100644 --- a/libgfortran/intrinsics/time_1.h +++ b/libgfortran/intrinsics/time_1.h @@ -178,7 +178,7 @@ gf_cputime (long *user_sec, long *user_usec, long *system_sec, long *system_usec struct timespec ts; int err = clock_gettime (CLOCK_PROCESS_CPUTIME_ID, &ts); *user_sec = ts.tv_sec; - *user_usecs = ts.tv_nsec / 1000; + *user_usec = ts.tv_nsec / 1000; *system_sec = *system_usec = 0; return err;