summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2007-02-27 17:23:29 +0000
committerjhb <jhb@FreeBSD.org>2007-02-27 17:23:29 +0000
commit9081d442434a29679b0bafe249708a1bd48bbfde (patch)
treea0597a39b0c2d93af237d119ce7da913a8a44962 /sys/nfsclient
parent3a7dab48bd395f66d9af79696af0534c63ae92f2 (diff)
downloadFreeBSD-src-9081d442434a29679b0bafe249708a1bd48bbfde.zip
FreeBSD-src-9081d442434a29679b0bafe249708a1bd48bbfde.tar.gz
Use pause() rather than tsleep() on stack variables and function pointers.
Diffstat (limited to 'sys/nfsclient')
-rw-r--r--sys/nfsclient/bootp_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfsclient/bootp_subr.c b/sys/nfsclient/bootp_subr.c
index 3a31353..45e9d15 100644
--- a/sys/nfsclient/bootp_subr.c
+++ b/sys/nfsclient/bootp_subr.c
@@ -759,7 +759,7 @@ bootpc_call(struct bootpc_globalcontext *gctx, struct thread *td)
}
/* XXX: Is this needed ? */
- tsleep(&error, PZERO + 8, "bootpw", 10);
+ pause("bootpw", hz/10);
/* Set netmask to 255.0.0.0 */
OpenPOWER on IntegriCloud