Date: Tue, 9 Jun 2009 04:09:31 +0000 (UTC) From: Alexander Nedotsukov <bland@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r193802 - head/usr.bin/fstat Message-ID: <200906090409.n5949Vp9055090@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bland (ports committer) Date: Tue Jun 9 04:09:31 2009 New Revision: 193802 URL: http://svn.freebsd.org/changeset/base/193802 Log: Fix bug in zphys offset calculation I introduced while retyping original patch. Modified: head/usr.bin/fstat/zfs.c Modified: head/usr.bin/fstat/zfs.c ============================================================================== --- head/usr.bin/fstat/zfs.c Tue Jun 9 04:03:04 2009 (r193801) +++ head/usr.bin/fstat/zfs.c Tue Jun 9 04:09:31 2009 (r193802) @@ -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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906090409.n5949Vp9055090>