Date: Sun, 22 May 2011 03:18:25 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r222170 - projects/pseries/powerpc/pseries Message-ID: <201105220318.p4M3IPRM056840@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105220318.p4M3IPRM056840>