diff options
author | peter <peter@FreeBSD.org> | 1997-08-03 08:33:17 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-08-03 08:33:17 +0000 |
commit | 3071fee9c6e869ee54a422f3fd126136573706b8 (patch) | |
tree | 43285efef68385a8116184912efe9f7890ea88bd | |
parent | 459ed6dfdbbd244cabd08527f4e37b1246954ffe (diff) | |
download | FreeBSD-src-3071fee9c6e869ee54a422f3fd126136573706b8.zip FreeBSD-src-3071fee9c6e869ee54a422f3fd126136573706b8.tar.gz |
Fix "lstart". (Displays "19" rather than time)
PR: 4206
Submitted by: Tetsuya Furukawa <tetsuya@secom-sis.co.jp>
-rw-r--r-- | bin/ps/print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ps/print.c b/bin/ps/print.c index 514e831..bfc6c8a 100644 --- a/bin/ps/print.c +++ b/bin/ps/print.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: print.c,v 1.21 1997/04/29 05:26:05 jkh Exp $ + * $Id: print.c,v 1.22 1997/08/03 08:25:00 peter Exp $ */ #ifndef lint @@ -376,7 +376,7 @@ lstarted(k, ve) (void)printf("%-*s", v->width, "-"); return; } - (void)strftime(buf, sizeof(buf) -1, "%C", + (void)strftime(buf, sizeof(buf) -1, "%c", localtime(&k->ki_u.u_start.tv_sec)); (void)printf("%-*s", v->width, buf); } |