summaryrefslogtreecommitdiffstats
path: root/fb-helper.c
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-02-16 00:41:21 +0100
committerFlorian Pritz <bluewind@xinu.at>2012-02-16 00:41:21 +0100
commit9bd3b56acd7305b3194246187928485022ec6093 (patch)
treeadea81966ec91d31ba40d0bf6f4fc9bae9558073 /fb-helper.c
parent831a2be0ca60edad2190fc31874d2e180ba48c40 (diff)
fb-helper.c: remove "OVER 9000" joke
9000 hours is just over one year and probably nobody is ever going to hit this. Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'fb-helper.c')
-rw-r--r--fb-helper.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fb-helper.c b/fb-helper.c
index 593a3be..c012c9f 100644
--- a/fb-helper.c
+++ b/fb-helper.c
@@ -109,9 +109,7 @@ void format_time(char *buf, int bufsize, time_t time)
minutes = (time/60)%60;
hours = time/60/60;
- if (hours > 9000) {
- snprintf(buf, bufsize, "OVER 9000!!");
- } else if (hours > 0) {
+ if (hours > 0) {
snprintf(buf, bufsize, "%d:%02d:%02d", hours, minutes, seconds);
} else {
snprintf(buf, bufsize, "%02d:%02d", minutes, seconds);