summaryrefslogtreecommitdiffstats
path: root/sys/nfs
diff options
context:
space:
mode:
authorgonzo <gonzo@FreeBSD.org>2012-08-16 19:22:34 +0000
committergonzo <gonzo@FreeBSD.org>2012-08-16 19:22:34 +0000
commit5c6e91c5dc3f48f0ddc94a8e6c5e503b964b9f06 (patch)
treea3a7cd386fc978b3eb1a60a729ebaeff31ccd14e /sys/nfs
parentc7341dcaf2fa694c9d87bebc6ca147bd08145dd4 (diff)
downloadFreeBSD-src-5c6e91c5dc3f48f0ddc94a8e6c5e503b964b9f06.zip
FreeBSD-src-5c6e91c5dc3f48f0ddc94a8e6c5e503b964b9f06.tar.gz
- Typo fix
- style(9) fix Spotted by: kib@, Andrey Zonov
Diffstat (limited to 'sys/nfs')
-rw-r--r--sys/nfs/bootp_subr.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/nfs/bootp_subr.c b/sys/nfs/bootp_subr.c
index 165999a..2c57a91 100644
--- a/sys/nfs/bootp_subr.c
+++ b/sys/nfs/bootp_subr.c
@@ -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;
OpenPOWER on IntegriCloud