From 258ed903a5b436d0dc1ac3b057bfa5d9ab3778ed Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 9 Nov 1994 09:43:50 +0000 Subject: (time_str): Specify format for decimals correctly. --- utils/old-ps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/old-ps.c') diff --git a/utils/old-ps.c b/utils/old-ps.c index 601e8869..47dd0e07 100644 --- a/utils/old-ps.c +++ b/utils/old-ps.c @@ -60,7 +60,7 @@ time_str (time_value_t *t) } centiseconds = t->microseconds / (1000000 / 100); - sprintf (ret, "%d:%.2d.%.2d", + sprintf (ret, "%d:%02d.%02d", t->seconds / 60, /* minutes */ t->seconds % 60, /* seconds */ centiseconds); -- cgit v1.2.3