Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Aug 1997 00:44:55 -0700 (PDT)
From:      tetsuya@secom-sis.co.jp
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   bin/4206: Output of ``ps -o lstart''
Message-ID:  <199708010744.AAA06734@hub.freebsd.org>
Resent-Message-ID: <199708010750.AAA07029@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help


>Number:         4206
>Category:       bin
>Synopsis:       Output of ``ps -o lstart''
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug  1 00:50:01 PDT 1997
>Last-Modified:
>Originator:     Tetsuya Furukawa
>Organization:
Secom Information System, Co. Ltd
>Release:        2.2-STABLE
>Environment:
FreeBSD hasega2pc.secom-sis.co.jp 2.2-STABLE FreeBSD 2.2-STABLE #0: Tue Jul 15 11:33:12 JST 1997     tetsuya@hasega2pc.secom-sis.co.jp:/export/FreeBSD/src-2.2/sys/compile/HASEGA2PC  i386

>Description:
The command line: ``ps -o lstart'' displays the number of this century: ``19'',
though it should display the more exact time.

>How-To-Repeat:
On the shell prompt, type as ``ps -o lstart''.
Then you'll see that every output line says ``19''.

>Fix:
In lstarted() in /bin/ps/print.c, replace the third argument of strftime()
that is now "%C" by "%c", "%R", "%T" or other things.

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708010744.AAA06734>