From 3071fee9c6e869ee54a422f3fd126136573706b8 Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 3 Aug 1997 08:33:17 +0000 Subject: Fix "lstart". (Displays "19" rather than time) PR: 4206 Submitted by: Tetsuya Furukawa --- bin/ps/print.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') 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); } -- cgit v1.1