Actions
Feature #4748
closeduse an enum for tod_faulted global
Start date:
2014-04-11
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
External Bug:
Description
There is already an enum that defines all the possible fault states for TOD. The global tod_faulted should use this enum instead of just an int. This makes mdb's ::print output way easier to deal with:
before:
> tod_faulted::print 5
after:
> tod_faulted::print 5 (TOD_NOFAULT)
Updated by Electric Monk over 9 years ago
git commit 4cde9a1e4370decb0ae4451cc85ce57730965c8c
commit 4cde9a1e4370decb0ae4451cc85ce57730965c8c Author: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Date: 2014-04-23T16:28:27.000Z 4748 use an enum for tod_faulted global Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Robert Mustacchi <rm@joyent.com>
Updated by Electric Monk over 9 years ago
- Status changed from New to Closed
- % Done changed from 80 to 100
Actions