mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Hold only a const version of the ProcessList in Meters
This commit is contained in:

committed by
cgzones

parent
f757810f48
commit
72103e9613
@ -21,7 +21,7 @@ static const int ZfsCompressedArcMeter_attributes[] = {
|
||||
ZFS_COMPRESSED
|
||||
};
|
||||
|
||||
void ZfsCompressedArcMeter_readStats(Meter* this, ZfsArcStats* stats) {
|
||||
void ZfsCompressedArcMeter_readStats(Meter* this, const ZfsArcStats* stats) {
|
||||
if ( stats->isCompressed ) {
|
||||
this->total = stats->uncompressed;
|
||||
this->values[0] = stats->compressed;
|
||||
|
Reference in New Issue
Block a user