diff options
| author | Thomas Gellekum <tg@FreeBSD.org> | 2002-05-10 10:40:46 +0000 |
|---|---|---|
| committer | Thomas Gellekum <tg@FreeBSD.org> | 2002-05-10 10:40:46 +0000 |
| commit | 486730f7fde365af63bd54b88ebba2de7adaf315 (patch) | |
| tree | 3f12b44dbdff6e1845c4c52574156d40f13d982b /usr.bin/doscmd | |
| parent | ca25eaf630b326b6700cefb8bd28964704660c4e (diff) | |
Notes
Diffstat (limited to 'usr.bin/doscmd')
| -rw-r--r-- | usr.bin/doscmd/AsyncIO.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/doscmd/AsyncIO.c b/usr.bin/doscmd/AsyncIO.c index 565e8e6cce37e..aa2ac077434e3 100644 --- a/usr.bin/doscmd/AsyncIO.c +++ b/usr.bin/doscmd/AsyncIO.c @@ -164,7 +164,8 @@ printf("Closed file descriptor %d\n", x); } } -static void HandleIO(struct sigframe *sf) +static void +HandleIO(struct sigframe *sf) { static struct timeval tv; fd_set readset, writeset; @@ -247,7 +248,7 @@ again: */ if (as->func) { (*handlers[fd].func)(fd, cond, handlers[fd].arg, - (regcontext_t*)&sf->sf_uc); + (regcontext_t *)&sf->sf_uc.uc_mcontext); } else { /* * Otherwise deregister this guy. |
