diff options
-rw-r--r-- | usr.bin/fstat/zfs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/fstat/zfs.c b/usr.bin/fstat/zfs.c index cb9744d..123fdc2 100644 --- a/usr.bin/fstat/zfs.c +++ b/usr.bin/fstat/zfs.c @@ -69,7 +69,8 @@ zfs_filestat(struct vnode *vp, struct filestat *fsp) void *znodeptr, *vnodeptr; char *dataptr; int *zphys_addr; - size_t len, size; + size_t len; + int size; len = sizeof(size); if (sysctlbyname("debug.sizeof.znode", &size, &len, NULL, 0) == -1) { @@ -91,7 +92,7 @@ zfs_filestat(struct vnode *vp, struct filestat *fsp) } /* - * z_id field is stored in the third pointer. We therefor skip the two + * z_id field is stored in the third pointer. We therefore skip the two * first bytes. * * Pointer to the z_phys structure is the next last pointer. Therefore |