svn commit: r212195 - head/sbin/mount_nfs
Kevin Lo
kevlo at FreeBSD.org
Sat Sep 4 08:42:19 UTC 2010
Author: kevlo
Date: Sat Sep 4 08:42:19 2010
New Revision: 212195
URL: http://svn.freebsd.org/changeset/base/212195
Log:
Shut the compiler up; initializes the sotype variable to zero in
nfs_tryproto().
Reviewed by: rmacklem
Modified:
head/sbin/mount_nfs/mount_nfs.c
Modified: head/sbin/mount_nfs/mount_nfs.c
==============================================================================
--- head/sbin/mount_nfs/mount_nfs.c Sat Sep 4 06:36:12 2010 (r212194)
+++ head/sbin/mount_nfs/mount_nfs.c Sat Sep 4 08:42:19 2010 (r212195)
@@ -866,6 +866,7 @@ nfs_tryproto(struct addrinfo *ai, char *
enum clnt_stat stat;
enum mountmode trymntmode;
+ sotype = 0;
trymntmode = mountmode;
errbuf[0] = '\0';
*errstr = errbuf;
More information about the svn-src-head
mailing list