Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Aug 2005 11:11:40 +0000 (UTC)
From:      Dag-Erling Smorgrav <des@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/pciconf pciconf.c
Message-ID:  <200508181111.j7IBBe85017764@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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