summaryrefslogtreecommitdiffstats
path: root/sys/fs/fdescfs/fdesc_vnops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/fdescfs/fdesc_vnops.c')
-rw-r--r--sys/fs/fdescfs/fdesc_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c
index 152f8f7..2a50da4 100644
--- a/sys/fs/fdescfs/fdesc_vnops.c
+++ b/sys/fs/fdescfs/fdesc_vnops.c
@@ -122,7 +122,7 @@ loop:
*/
if (fdcache_lock & FDL_LOCKED) {
fdcache_lock |= FDL_WANT;
- (void) tsleep((caddr_t) &fdcache_lock, PINOD, "fdalvp", 0);
+ (void) tsleep( &fdcache_lock, PINOD, "fdalvp", 0);
goto loop;
}
fdcache_lock |= FDL_LOCKED;
@@ -151,7 +151,7 @@ out:
if (fdcache_lock & FDL_WANT) {
fdcache_lock &= ~FDL_WANT;
- wakeup((caddr_t) &fdcache_lock);
+ wakeup( &fdcache_lock);
}
return (error);
OpenPOWER on IntegriCloud