Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / net / net-snmp / patches / patch-agent_mibgroup_hardware_fsys_fsys_getfsstats.c
blob5f18fd3c483f21e15efdcf0220b39bc4001e3557
1 $NetBSD$
3 --- agent/mibgroup/hardware/fsys/fsys_getfsstats.c.orig 2013-04-05 13:53:53.000000000 -0400
4 +++ agent/mibgroup/hardware/fsys/fsys_getfsstats.c 2013-04-05 13:54:19.000000000 -0400
5 @@ -154,7 +154,7 @@
6 entry->path[sizeof(entry->path)-1] = '\0';
7 strlcpy( entry->device, stats[i].f_mntfromname, sizeof(entry->device));
8 entry->device[sizeof(entry->device)-1] = '\0';
9 - entry->units = stats[i].f_bsize; /* or f_frsize */
10 + entry->units = stats[i].f_frsize;
11 entry->size = stats[i].f_blocks;
12 entry->used = (stats[i].f_blocks - stats[i].f_bfree);
13 /* entry->avail is currently unsigned, so protect against negative