summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/old-ps.c2
1 files changed, 1 insertions, 1 deletions
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);