cvs commit: src/usr.sbin/pciconf pciconf.c

Dag-Erling Smorgrav des at FreeBSD.org
Thu Aug 18 11:11:40 GMT 2005


des         2005-08-18 11:11:40 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/pciconf     pciconf.c 
  Log:
  Use larger buffers to read lines from the vendor list.
  Trim trailing whitespace and comments before parsing, and skip empty lines.
  Skip subvendor / subdevice entries (which start with two tab characters).
  Change the scanf() format string to match any amount and type of whitespace
  between the device ID and the description text.
  
  MFC after:      3 weeks
  
  Revision  Changes    Path
  1.26      +16 -3     src/usr.sbin/pciconf/pciconf.c


More information about the cvs-src mailing list