summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-08-03 08:33:17 +0000
committerpeter <peter@FreeBSD.org>1997-08-03 08:33:17 +0000
commit3071fee9c6e869ee54a422f3fd126136573706b8 (patch)
tree43285efef68385a8116184912efe9f7890ea88bd /bin
parent459ed6dfdbbd244cabd08527f4e37b1246954ffe (diff)
downloadFreeBSD-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>
Diffstat (limited to 'bin')
-rw-r--r--bin/ps/print.c4
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);
}
OpenPOWER on IntegriCloud