cvs commit: src/sys/kern tty.c

Tai-hwa Liang avatar at
Wed Apr 13 06:56:18 PDT 2005

avatar      2005-04-13 13:56:17 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             tty.c 
  According to the comment in struct tty, t_modem is optional; hence we should
  guard against NULL t_modem entry. Otherwise, driver doesn't have t_modem
  callback implemented(such like sys/dev/usb/ucycom.c) would panic when
  someone opens the driver's associated tty device.
  Reviewed by:    phk, sam (mentor)
  Revision  Changes    Path
  1.249     +4 -2      src/sys/kern/tty.c

More information about the cvs-all mailing list