Drop tabs in source indentions

This commit is contained in:
Christian Göttsche 2020-10-20 13:14:32 +02:00 committed by cgzones
parent dea19b644f
commit f8208f2173
9 changed files with 16 additions and 17 deletions

View File

@ -32,8 +32,7 @@ void openzfs_sysctl_init(ZfsArcStats *stats) {
unsigned long long int arcSize; unsigned long long int arcSize;
len = sizeof(arcSize); len = sizeof(arcSize);
if (sysctlbyname("kstat.zfs.misc.arcstats.size", &arcSize, &len, if (sysctlbyname("kstat.zfs.misc.arcstats.size", &arcSize, &len, NULL, 0) == 0 && arcSize != 0) {
NULL, 0) == 0 && arcSize != 0) {
stats->enabled = 1; stats->enabled = 1;
len = 5; sysctlnametomib("kstat.zfs.misc.arcstats.size", MIB_kstat_zfs_misc_arcstats_size, &len); len = 5; sysctlnametomib("kstat.zfs.misc.arcstats.size", MIB_kstat_zfs_misc_arcstats_size, &len);