From owner-svn-src-projects@FreeBSD.ORG Sun May 22 03:18:25 2011 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1094106564A; Sun, 22 May 2011 03:18:25 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B22B48FC1A; Sun, 22 May 2011 03:18:25 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p4M3IPon056842; Sun, 22 May 2011 03:18:25 GMT (envelope-from nwhitehorn@svn.freebsd.org) Received: (from nwhitehorn@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p4M3IPRM056840; Sun, 22 May 2011 03:18:25 GMT (envelope-from nwhitehorn@svn.freebsd.org) Message-Id: <201105220318.p4M3IPRM056840@svn.freebsd.org> From: Nathan Whitehorn Date: Sun, 22 May 2011 03:18:25 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r222170 - projects/pseries/powerpc/pseries X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2011 03:18:25 -0000 Author: nwhitehorn Date: Sun May 22 03:18:25 2011 New Revision: 222170 URL: http://svn.freebsd.org/changeset/base/222170 Log: Fix a couple typos. Modified: projects/pseries/powerpc/pseries/rtas_dev.c Modified: projects/pseries/powerpc/pseries/rtas_dev.c ============================================================================== --- projects/pseries/powerpc/pseries/rtas_dev.c Sun May 22 02:18:18 2011 (r222169) +++ projects/pseries/powerpc/pseries/rtas_dev.c Sun May 22 03:18:25 2011 (r222170) @@ -118,12 +118,12 @@ rtas_gettime(device_t dev, struct timesp if (tod[0] != 0) return ((tod[0] == -1) ? ENXIO : EAGAIN); - ct.year = tod[1]; - ct.mon = tod[2]; - ct.day = tod[3]; - ct.hour = tod[4]; - ct.min = tod[5]; - ct.sec = tod[6]; + ct.year = tod[1]; + ct.mon = tod[2]; + ct.day = tod[3]; + ct.hour = tod[4]; + ct.min = tod[5]; + ct.sec = tod[6]; ct.nsec = tod[7]; return (clock_ct_to_ts(&ct, ts)); @@ -142,7 +142,7 @@ rtas_settime(device_t dev, struct timesp clock_ts_to_ct(ts, &ct); error = rtas_call_method(token, 7, 1, ct.year, ct.mon, ct.day, ct.hour, - ct.min, ct.min, ct.sec, ct.nsec, &status); + ct.min, ct.sec, ct.nsec, &status); if (error < 0) return (ENXIO); if (status != 0)