aboutsummaryrefslogtreecommitdiff
path: root/toys/other/swapoff.c
diff options
context:
space:
mode:
authorIsaac Dunham <idunham@lavabit.com>2013-08-07 11:51:26 -0500
committerIsaac Dunham <idunham@lavabit.com>2013-08-07 11:51:26 -0500
commit17ea5644d93ff1ced28d3602ac244cb6022f3ba6 (patch)
tree9ac5ba66d5626fa9e1fee29547285bf29563979b /toys/other/swapoff.c
parent142ebdcfbe01007cd86d699d85dc608bbcaacf82 (diff)
downloadtoybox-17ea5644d93ff1ced28d3602ac244cb6022f3ba6.tar.gz
This is the preliminary version of lspci text output support (the location
of pci.ids is hard-coded to /usr/share/misc/pci.ids, as found on Debian/Ubuntu). +88 lines in two files, including reformatting, comments, whitespace, and build configuration as well as new code. The changes: -Add library code to look up descriptions. -Add a counter for -n (for the sake of -nn) -Add the file stream "db" to GLOBALS and open it conditionally -Add name fields to bufs -Look up text if enabled and -n is passed never or twice -Print text if lookup succeeded
Diffstat (limited to 'toys/other/swapoff.c')
0 files changed, 0 insertions, 0 deletions