svn commit: r239337 - head/sys/nfs

Oleksandr Tymoshenko gonzo at FreeBSD.org
Thu Aug 16 19:22:35 UTC 2012


Author: gonzo
Date: Thu Aug 16 19:22:34 2012
New Revision: 239337
URL: http://svn.freebsd.org/changeset/base/239337

Log:
  - Typo fix
  - style(9) fix
  
  Spotted by: kib@, Andrey Zonov

Modified:
  head/sys/nfs/bootp_subr.c

Modified: head/sys/nfs/bootp_subr.c
==============================================================================
--- head/sys/nfs/bootp_subr.c	Thu Aug 16 18:31:50 2012	(r239336)
+++ head/sys/nfs/bootp_subr.c	Thu Aug 16 19:22:34 2012	(r239337)
@@ -84,7 +84,7 @@ __FBSDID("$FreeBSD$");
 
 /* 
  * Wait 10 seconds for interface appearance
- * USB ethernet adapters might reqquire some time to pop up
+ * USB ethernet adapters might require some time to pop up
  */
 #ifndef	BOOTP_IFACE_WAIT_TIMEOUT
 #define	BOOTP_IFACE_WAIT_TIMEOUT	10
@@ -1523,8 +1523,11 @@ bootpc_init(void)
 #endif
 	struct nfsv3_diskless *nd;
 	struct thread *td;
-	int timeout = BOOTP_IFACE_WAIT_TIMEOUT * hz;
-	int delay = hz / 10;
+	int timeout;
+	int delay;
+
+	timeout = BOOTP_IFACE_WAIT_TIMEOUT * hz;
+	delay = hz / 10;
 
 	nd = &nfsv3_diskless;
 	td = curthread;


More information about the svn-src-all mailing list