Do not print the value of sc pointer before is has been ininialized.
This commit is contained in:
parent
64fe778489
commit
851d388443
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user