Do not print the value of sc pointer before is has been ininialized.

This commit is contained in:
kan 2003-01-02 02:46:13 +00:00
parent 87a760eb6f
commit d09fe4b5dc

View File

@ -617,9 +617,10 @@ ubsa_param(void *addr, int portno, struct termios *ti)
{
struct ubsa_softc *sc;
sc = addr;
DPRINTF(("ubsa_param: sc = %p\n", sc));
sc = addr;
ubsa_baudrate(sc, ti->c_ospeed);
ubsa_parity(sc, ti->c_cflag);
ubsa_databits(sc, ti->c_cflag);