diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-08-01 09:48:45 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-08-01 09:48:45 +0000 |
commit | f4d2a10d753e431f2bdbac67f916f123eac2a046 (patch) | |
tree | e5784fb57e8f98bd134ca0232add5d0398608030 | |
parent | a278b939beffc299c9d3b26cb9be4c84e8686930 (diff) |
for lstart, use %c not %C; tetsuya@secom-sis.co.jp
-rw-r--r-- | bin/ps/print.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ps/print.c b/bin/ps/print.c index 2a265a3f067..94e8c5912fa 100644 --- a/bin/ps/print.c +++ b/bin/ps/print.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print.c,v 1.4 1997/07/23 19:18:19 kstailey Exp $ */ +/* $OpenBSD: print.c,v 1.5 1997/08/01 09:48:44 deraadt Exp $ */ /* $NetBSD: print.c,v 1.27 1995/09/29 21:58:12 cgd Exp $ */ /*- @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)print.c 8.6 (Berkeley) 4/16/94"; #else -static char rcsid[] = "$OpenBSD: print.c,v 1.4 1997/07/23 19:18:19 kstailey Exp $"; +static char rcsid[] = "$OpenBSD: print.c,v 1.5 1997/08/01 09:48:44 deraadt Exp $"; #endif #endif /* not lint */ @@ -425,7 +425,7 @@ lstarted(k, ve) return; } startt = k->ki_u.u_start.tv_sec; - (void)strftime(buf, sizeof(buf) -1, "%C", + (void)strftime(buf, sizeof(buf) -1, "%c", localtime(&startt)); (void)printf("%-*s", v->width, buf); } |