12201 Enable smatch for zonestat and zonestatd
Review Request #2498 — Created Jan. 25, 2020 and submitted — Latest diff uploaded
Information | |
---|---|
marcel | |
illumos-gate | |
master | |
12201 | |
f988628... | |
Reviewers | |
general | |
This enables smatch for both zonestat and zonestatd and fixes one issue detected by smatch in zonestat.
Nightly completed successfully. Without the fix: $ /usr/bin/zonestat -P resource 2>&1 | grep Error zonestat: Error: -P requires -p $ With the fix: $ proto/root_i386/usr/bin/zonestat -P resource 2>&1 | grep Error zonestat: Error: -P requires -p $