Subject: CVS commit: src/sbin/mount_nfs
To: None <source-changes@NetBSD.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 06/02/2005 01:24:45
Module Name:	src
Committed By:	lukem
Date:		Thu Jun  2 01:24:45 UTC 2005

Modified Files:
	src/sbin/mount_nfs: getnfsargs.c

Log Message:
Use ai_nfs instead of the uninitialized ai when determining the NFSMNT_KERB
reverse IP address, and ensure ecode is set as well.
Detected with gcc -Wuninitialized.
(The bug was introduced in mount_nfs.c rev 1.25.  Hi fvdl! :)


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 src/sbin/mount_nfs/getnfsargs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.