Add the percent sign to *_perc functions

Units should be added to the corresponding numbers
This commit is contained in:
Aaron Marcher
2018-05-19 20:33:06 +02:00
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))));
}