aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/subr_log.c
diff options
context:
space:
mode:
authorDon Lewis <truckman@FreeBSD.org>2002-10-03 02:13:00 +0000
committerDon Lewis <truckman@FreeBSD.org>2002-10-03 02:13:00 +0000
commit91e97a8266d38eb58a566fef3ea7c2353b20fd37 (patch)
treea99f59036961904f8470031c60cd1319fed1c7b9 /sys/kern/subr_log.c
parent5da2b58aeb4d5bc16b135ed4bea93e94dd900422 (diff)
downloadsrc-91e97a8266d38eb58a566fef3ea7c2353b20fd37.tar.gz
src-91e97a8266d38eb58a566fef3ea7c2353b20fd37.zip
Notes
Diffstat (limited to 'sys/kern/subr_log.c')
-rw-r--r--sys/kern/subr_log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_log.c b/sys/kern/subr_log.c
index 0198557bc1b5..4caa15330f14 100644
--- a/sys/kern/subr_log.c
+++ b/sys/kern/subr_log.c
@@ -239,7 +239,7 @@ logioctl(dev_t dev, u_long com, caddr_t data, int flag, struct thread *td)
return (fsetown(*(int *)data, &logsoftc.sc_sigio));
case FIOGETOWN:
- *(int *)data = fgetown(logsoftc.sc_sigio);
+ *(int *)data = fgetown(&logsoftc.sc_sigio);
break;
/* This is deprecated, FIOSETOWN should be used instead. */
@@ -248,7 +248,7 @@ logioctl(dev_t dev, u_long com, caddr_t data, int flag, struct thread *td)
/* This is deprecated, FIOGETOWN should be used instead */
case TIOCGPGRP:
- *(int *)data = -fgetown(logsoftc.sc_sigio);
+ *(int *)data = -fgetown(&logsoftc.sc_sigio);
break;
default: