Project

General

Profile

« Previous | Next » 

Revision 04797e69

Added by Nathan Scott over 15 years ago

  • ID 04797e69604ebe23a5f09280e03040ca5235b673

Removal of IB indom in Linux PMDA causes bad indomtab array lookups.
gcc reports ...
pmda.c: In function ‘linux_refresh’:
pmda.c:3344: warning: array subscript is above array bounds
pmda.c: In function ‘linux_fetchCallBack’:
pmda.c:4012: warning: array subscript is above array bounds
... since there's a hole in the array indexing where IB used to be
and NET_INET_INDOM (last entry in the array) is the victim. Added
in a dummy ("IB, deprecated") entry to fix this up. Also, cleaned
up a handful of whitespace abuses in this table while I was there.

  • added
  • modified
  • copied
  • renamed
  • deleted