Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
HardenedBSD
HardenedBSD
Commits
cbe9faa5
Commit
cbe9faa5
authored
Nov 30, 2021
by
Warner Losh
Browse files
Remove DS_BUSY case
DS_BUSY is no longer a device state. Remove it from here. Sponsored by: Netflix
parent
1c7d15b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_device_tbl.c
View file @
cbe9faa5
...
...
@@ -356,7 +356,6 @@ device_get_status(struct devinfo_dev *dev)
case
DS_NOTPRESENT
:
/* not probed or probe failed */
return
(
DS_DOWN
);
case
DS_ATTACHED
:
/* attach method called */
case
DS_BUSY
:
/* device is open */
return
(
DS_RUNNING
);
default:
return
(
DS_UNKNOWN
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment