diff options
author | phk <phk@FreeBSD.org> | 2006-01-04 09:46:20 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2006-01-04 09:46:20 +0000 |
commit | 44d6de75f9eb511d1fb49fbc4e960cde63ef48f5 (patch) | |
tree | a52e228ccc2f1778946b7c5ba2e0d902ce05ac2e /sys/i386/xbox | |
parent | 990533856ec969bb87b18b54c27c93aa376a6017 (diff) | |
download | FreeBSD-src-44d6de75f9eb511d1fb49fbc4e960cde63ef48f5.zip FreeBSD-src-44d6de75f9eb511d1fb49fbc4e960cde63ef48f5.tar.gz |
Use ttyalloc() instead of ttymalloc()
Diffstat (limited to 'sys/i386/xbox')
-rw-r--r-- | sys/i386/xbox/xboxfb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/xbox/xboxfb.c b/sys/i386/xbox/xboxfb.c index 6271b8a..3537491 100644 --- a/sys/i386/xbox/xboxfb.c +++ b/sys/i386/xbox/xboxfb.c @@ -322,6 +322,7 @@ xboxfb_drvinit (void* unused) /* probe for a keyboard */ xboxfb_timer (NULL); + xboxfb_tp = ttyalloc(); } static void @@ -361,7 +362,7 @@ xboxfb_dev_open(struct cdev* dev, int flag, int mode, struct thread* td) { struct tty* tp; - tp = xboxfb_tp = dev->si_tty = ttymalloc (xboxfb_tp); + tp = dev->si_tty = xboxfb_tp; tp->t_oproc = xboxfb_tty_start; tp->t_param = xboxfb_tty_param; |