summaryrefslogtreecommitdiffstats
path: root/usr.bin/fstat/zfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/fstat/zfs.c')
-rw-r--r--usr.bin/fstat/zfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/fstat/zfs.c b/usr.bin/fstat/zfs.c
index cc284fb..008f174 100644
--- a/usr.bin/fstat/zfs.c
+++ b/usr.bin/fstat/zfs.c
@@ -58,7 +58,7 @@
* definition.
*/
#define LOCATION_ZID (2 * sizeof(void *))
-#define LOCATION_ZPHYS(zsize) ((zsize) - (2 * sizeof(void *) - sizeof(struct task)))
+#define LOCATION_ZPHYS(zsize) ((zsize) - (2 * sizeof(void *) + sizeof(struct task)))
int
zfs_filestat(struct vnode *vp, struct filestat *fsp)
OpenPOWER on IntegriCloud