[SIGAR-56] Fix dir_usage.total
This commit is contained in:
parent
6662294a7f
commit
60be6b1151
|
@ -467,7 +467,7 @@ static int dir_stat_get(sigar_t *sigar,
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|
||||||
dirstats->total +=
|
dirstats->total =
|
||||||
dirstats->files +
|
dirstats->files +
|
||||||
dirstats->subdirs +
|
dirstats->subdirs +
|
||||||
dirstats->symlinks +
|
dirstats->symlinks +
|
||||||
|
@ -689,7 +689,7 @@ static int dir_stat_get(sigar_t *sigar,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dirstats->total +=
|
dirstats->total =
|
||||||
dirstats->files +
|
dirstats->files +
|
||||||
dirstats->subdirs +
|
dirstats->subdirs +
|
||||||
dirstats->symlinks +
|
dirstats->symlinks +
|
||||||
|
|
Loading…
Reference in New Issue