git: kernel/nfs: Fix two wrong sizeofs.
commit d652e60cf063f9f9d1f41194c096a552c6cde32a
Author: Sascha Wildner <saw@online.de>
Date: Mon Nov 21 05:31:52 2011 +0100
kernel/nfs: Fix two wrong sizeofs.
NFSKERBKEY_T (key's type) is (in <vfs/nfs/rpcv2.h>):
typedef u_char NFSKERBKEY_T[2];
and key is one of the function's args, so we need to use the type for
the sizeof, else we'll get the size of a pointer.
Summary of changes:
sys/vfs/nfs/nfs_syscalls.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d652e60cf063f9f9d1f41194c096a552c6cde32a
--
DragonFly BSD source repository