mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-23 22:55:46 +00:00
A fix for long uptimes, sent my Marc Cahalan
This commit is contained in:
parent
cc5af25e11
commit
ef5b27f33a
@ -44,7 +44,7 @@ void UptimeMeter_setValues(Meter* this, char* buffer, int len) {
|
||||
if (days > this->total) {
|
||||
this->total = days;
|
||||
}
|
||||
char daysbuf[10];
|
||||
char daysbuf[15];
|
||||
if (days > 100) {
|
||||
sprintf(daysbuf, "%d days(!), ", days);
|
||||
} else if (days > 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user