mmatuska / zfs-stats

ZFS statistics tool
http://www.vx.sk/zfs-stats
63 stars 19 forks source link

prevent hex() from warning on the header of kldstat in zfs-stats #4

Closed b2gills closed 4 years ago

b2gills commented 10 years ago

kldstat returns a header line so hex() emits a warning.

Simply skipping lines that don't have 0x on them is enough to prevent this.