aboutsummaryrefslogtreecommitdiff
path: root/src/pr_clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pr_clock.c')
-rw-r--r--src/pr_clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pr_clock.c b/src/pr_clock.c
index 2526366..98971fe 100644
--- a/src/pr_clock.c
+++ b/src/pr_clock.c
@@ -102,7 +102,7 @@ static char *format_span_nice(int n)
mins = ((n-sec) % (60*60))/60;
hours = (n-sec-mins) / (60*60);
- if ( n < 60 ) {
+ if ( n <= 60 ) {
snprintf(tmp, 63, "%i seconds %s", n, s);
return strdup(tmp);
}