Add the percent sign to *_perc functions
Units should be added to the corresponding numbers
This commit is contained in:
parent
68a3902dc5
commit
74c4f4ebda
7 changed files with 12 additions and 12 deletions
|
@ -29,7 +29,7 @@ disk_perc(const char *mnt)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
return bprintf("%d", (int)(100 *
|
||||
return bprintf("%d%%", (int)(100 *
|
||||
(1.0f - ((float)fs.f_bavail / (float)fs.f_blocks))));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue