diff --git a/src/diskio.cc b/src/diskio.cc index 43ef16b4..fba71380 100644 --- a/src/diskio.cc +++ b/src/diskio.cc @@ -118,7 +118,7 @@ static void print_diskio_dir(struct text_object *obj, int dir, char *p, int p_ma if (dir < 0) val = diskio->current_read; - if (dir == 0) + else if (dir == 0) val = diskio->current; else val = diskio->current_write;