aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/doscmd
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2002-05-10 10:40:46 +0000
committerThomas Gellekum <tg@FreeBSD.org>2002-05-10 10:40:46 +0000
commit486730f7fde365af63bd54b88ebba2de7adaf315 (patch)
tree3f12b44dbdff6e1845c4c52574156d40f13d982b /usr.bin/doscmd
parentca25eaf630b326b6700cefb8bd28964704660c4e (diff)
Notes
Diffstat (limited to 'usr.bin/doscmd')
-rw-r--r--usr.bin/doscmd/AsyncIO.c5
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.