svn commit: r193802 - head/usr.bin/fstat
Alexander Nedotsukov
bland at FreeBSD.org
Tue Jun 9 04:09:32 UTC 2009
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)
More information about the svn-src-all
mailing list