[SIGAR-56] Fix dir_usage.total

This commit is contained in:
Doug MacEachern 2007-05-04 14:47:27 +00:00
parent 6662294a7f
commit 60be6b1151
1 changed files with 2 additions and 2 deletions

View File

@ -467,7 +467,7 @@ static int dir_stat_get(sigar_t *sigar,
return error;
}
dirstats->total +=
dirstats->total =
dirstats->files +
dirstats->subdirs +
dirstats->symlinks +
@ -689,7 +689,7 @@ static int dir_stat_get(sigar_t *sigar,
}
}
dirstats->total +=
dirstats->total =
dirstats->files +
dirstats->subdirs +
dirstats->symlinks +