kernel/nfs: Fix two wrong sizeofs.
authorSascha Wildner <saw@online.de>
Mon, 21 Nov 2011 04:31:52 +0000 (05:31 +0100)
committerSascha Wildner <saw@online.de>
Mon, 21 Nov 2011 04:32:26 +0000 (05:32 +0100)
commitd652e60cf063f9f9d1f41194c096a552c6cde32a
treee2b85d96132be3f2d2f0fc30f96031c99f9f908b
parentac87931ee85cf3d7f77c4612bdeaa5a359439a51
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.
sys/vfs/nfs/nfs_syscalls.c