diff options
author | jhb <jhb@FreeBSD.org> | 2007-02-27 17:23:29 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2007-02-27 17:23:29 +0000 |
commit | 9081d442434a29679b0bafe249708a1bd48bbfde (patch) | |
tree | a0597a39b0c2d93af237d119ce7da913a8a44962 /sys/fs | |
parent | 3a7dab48bd395f66d9af79696af0534c63ae92f2 (diff) | |
download | FreeBSD-src-9081d442434a29679b0bafe249708a1bd48bbfde.zip FreeBSD-src-9081d442434a29679b0bafe249708a1bd48bbfde.tar.gz |
Use pause() rather than tsleep() on stack variables and function pointers.
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/smbfs/smbfs_smb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/smbfs/smbfs_smb.c b/sys/fs/smbfs/smbfs_smb.c index 540b60b..7ee93f6 100644 --- a/sys/fs/smbfs/smbfs_smb.c +++ b/sys/fs/smbfs/smbfs_smb.c @@ -1199,7 +1199,7 @@ smbfs_smb_trans2find2(struct smbfs_fctx *ctx) * I've didn't notice any problem, but put code * for it. */ - tsleep(&flags, PVFS, "fix95", tvtohz(&tv)); + pause("fix95", tvtohz(&tv)); } #endif } |