De-typo DiskIOMeter

This commit is contained in:
Daniel Lange 2021-02-15 17:42:22 +01:00
parent b0fd44275d
commit 1e57cab605
1 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ static void DiskIOMeter_updateValues(Meter* this, char* buffer, size_t len) {
snprintf(buffer, len, "%sB %sB %.1f%%", bufferRead, bufferWrite, cached_utilisation_diff);
}
static void DIskIOMeter_display(ATTR_UNUSED const Object* cast, RichString* out) {
static void DiskIOMeter_display(ATTR_UNUSED const Object* cast, RichString* out) {
if (!hasData) {
RichString_writeAscii(out, CRT_colors[METER_VALUE_ERROR], "no data");
return;
@ -111,7 +111,7 @@ const MeterClass DiskIOMeter_class = {
.super = {
.extends = Class(Meter),
.delete = Meter_delete,
.display = DIskIOMeter_display
.display = DiskIOMeter_display
},
.updateValues = DiskIOMeter_updateValues,
.defaultMode = TEXT_METERMODE,