summaryrefslogtreecommitdiff
path: root/utils/old-ps.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/old-ps.c')
-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 42185e58..601e8869 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:%.2d.%.2d",
t->seconds / 60, /* minutes */
t->seconds % 60, /* seconds */
centiseconds);