cvs commit: src/sys/dev/dcons dcons_os.c

Poul-Henning Kamp phk at phk.freebsd.dk
Fri Jan 6 02:59:24 PST 2006


In message <20060104192622.GA17950 at garage.freebsd.pl>, Pawel Jakub Dawidek writes:
>On Wed, Jan 04, 2006 at 09:20:42AM +0000, Poul-Henning Kamp wrote:
>+> phk         2006-01-04 09:20:41 UTC
>+> 
>+>   FreeBSD src repository
>+> 
>+>   Modified files:
>+>     sys/dev/dcons        dcons_os.c 
>+>   Log:
>+>   Use ttyalloc() instead of ttymalloc()
>[...]
>+> -	tp = dev->si_tty = ttymalloc(dev->si_tty);
>+> +	tp = dev->si_tty;
>
>This was your intention not 'tp = dev->si_tty = ttyalloc();'?

Yes, the ttyalloc() happens in dcons_attach_port()

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the cvs-src mailing list