diff options
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/snp/snp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c index 52c5a02..fcc70a5 100644 --- a/sys/dev/snp/snp.c +++ b/sys/dev/snp/snp.c @@ -257,8 +257,8 @@ snp_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flags, SNP_UNLOCK(); return (EBUSY); } - error = ttyhook_register(&ss->snp_tty, td->td_proc, *(int *)data, - &snp_hook, ss); + error = ttyhook_register(&ss->snp_tty, td->td_proc, + *(int *)data, &snp_hook, ss); SNP_UNLOCK(); if (error != 0) return (error); |