diff options
author | bland <bland@FreeBSD.org> | 2009-06-09 04:09:31 +0000 |
---|---|---|
committer | bland <bland@FreeBSD.org> | 2009-06-09 04:09:31 +0000 |
commit | cd8208ffdba50996e9cc7811e953dd65d9bb9c5c (patch) | |
tree | 9bf1ed049ab8889bd6977c90c5cc11052752fcbb /usr.bin/fstat | |
parent | 7f2da90f38689c0dc0603116284b303e8351c297 (diff) | |
download | FreeBSD-src-cd8208ffdba50996e9cc7811e953dd65d9bb9c5c.zip FreeBSD-src-cd8208ffdba50996e9cc7811e953dd65d9bb9c5c.tar.gz |
Fix bug in zphys offset calculation I introduced while retyping
original patch.
Diffstat (limited to 'usr.bin/fstat')
-rw-r--r-- | usr.bin/fstat/zfs.c | 2 |
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) |