Project

General

Profile

Actions

Bug #12201

closed

Enable smatch for zonestat and zonestatd

Added by Marcel Telka almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
cmd - userland programs
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

smatch currently reports one issue for zonestat and one for zonestatd:

zonestat.c:2361 main() warn: maybe use && instead of &
zonestatd.c:3878 zsd_usage_cache_update() warn: inconsistent indenting

Once the fix for #12193 (inconsistent indenting in zonestatd.c) is integrated we could easily fix the other one (in zonestat) and enable smatch for both zonestat and zonestatd.


Related issues

Related to illumos gate - Bug #12193: zonestatd: Wrong indentation in zsd_usage_cache_update()ClosedMarcel Telka

Actions
Actions

Also available in: Atom PDF