Skip to content

Commit 56b64f6

Browse files
committed
Round off seconds from ETA printout
1 parent 7dc72d8 commit 56b64f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cyanrip_main.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -622,10 +622,10 @@ static int cyanrip_rip_track(cyanrip_ctx *ctx, cyanrip_track *t)
622622

623623
if (hours)
624624
line_len += snprintf(line + line_len, sizeof(line) - line_len,
625-
", ETA - %ih %im %lis", hours, minutes, seconds);
625+
", ETA - %ih %im", hours, minutes);
626626
else if (minutes)
627627
line_len += snprintf(line + line_len, sizeof(line) - line_len,
628-
", ETA - %im %lis", minutes, seconds);
628+
", ETA - %im", minutes);
629629
else
630630
line_len += snprintf(line + line_len, sizeof(line) - line_len,
631631
", ETA - %lis", seconds);

0 commit comments

Comments
 (0)