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)
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to