diff --git a/proc/whattime.c b/proc/whattime.c index 10e78c3f..f55f3636 100644 --- a/proc/whattime.c +++ b/proc/whattime.c @@ -147,9 +147,9 @@ char *sprint_uptime(int human_readable) { } if (upminutes || (!upminutes && uptime_secs < 60)) { - pos += sprintf(buf + pos, "%s%d %s", comma > 0 ? ", " : "", upminutes, - upminutes != 1 ? "minutes" : "minute"); - comma += 1; + pos += sprintf(buf + pos, "%s%d %s", comma > 0 ? ", " : "", upminutes, + upminutes != 1 ? "minutes" : "minute"); + comma += 1; } }