diff options
author | des <des@FreeBSD.org> | 2003-03-02 16:54:40 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2003-03-02 16:54:40 +0000 |
commit | 2756b6c9641bd9899a346582c191310de25cccc5 (patch) | |
tree | 351747321ab136aa733f670c4c2c235b3639bc1e /sys/dev/hfa | |
parent | 3780674329cabab230b12923047c8aa84e4f05fc (diff) | |
download | FreeBSD-src-2756b6c9641bd9899a346582c191310de25cccc5.zip FreeBSD-src-2756b6c9641bd9899a346582c191310de25cccc5.tar.gz |
More low-hanging fruit: kill caddr_t in calls to wakeup(9) / [mt]sleep(9).
Diffstat (limited to 'sys/dev/hfa')
-rw-r--r-- | sys/dev/hfa/fore_command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/hfa/fore_command.c b/sys/dev/hfa/fore_command.c index 8616112..e73091f 100644 --- a/sys/dev/hfa/fore_command.c +++ b/sys/dev/hfa/fore_command.c @@ -329,7 +329,7 @@ fore_cmd_drain(fup) /* * Poke whoever is waiting on the stats */ - wakeup((caddr_t)&fup->fu_stats); + wakeup(&fup->fu_stats); break; case CMD_GET_PROM: @@ -416,7 +416,7 @@ fore_cmd_free(fup) * Just in case someone is sleeping on this */ fup->fu_stats_ret = EIO; - wakeup((caddr_t)&fup->fu_stats); + wakeup(&fup->fu_stats); break; } |