Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jan 2006 11:59:21 +0100
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/dcons dcons_os.c 
Message-ID:  <850.1136545161@critter.freebsd.dk>
In-Reply-To: Your message of "Wed, 04 Jan 2006 20:26:22 %2B0100." <20060104192622.GA17950@garage.freebsd.pl> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20060104192622.GA17950@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?850.1136545161>