Uptime output for both w and uptime command were showing no
comma or space after days.
$ ./uptime
18:32:21 up 22 days7 min, 6 users, load average: 0.23, 0.46, 0.64
Minor tweak to fix this.
realtime->tm_hour, realtime->tm_min, realtime->tm_sec);
if (updays)
- pos += sprintf(upbuf + pos, "%d %s", updays, (updays > 1) ? "days" : "day");
+ pos += sprintf(upbuf + pos, "%d %s, ", updays, (updays > 1) ? "days" : "day");
if (uphours)
pos += sprintf(upbuf + pos, "%2d:%02d, ", uphours, upminutes);