Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146433390
D42929.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
365 B
Referenced Files
None
Subscribers
None
D42929.diff
View Options
diff --git a/sys/cam/ctl/ctl_frontend.c b/sys/cam/ctl/ctl_frontend.c
--- a/sys/cam/ctl/ctl_frontend.c
+++ b/sys/cam/ctl/ctl_frontend.c
@@ -162,7 +162,7 @@
if ((port_num < 0) ||
(ctl_set_mask(softc->ctl_port_mask, port_num) < 0)) {
mtx_unlock(&softc->ctl_lock);
- return (1);
+ return (EBUSY);
}
softc->num_ports++;
mtx_unlock(&softc->ctl_lock);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 3, 4:00 PM (3 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29204814
Default Alt Text
D42929.diff (365 B)
Attached To
Mode
D42929: ctl: Always return errno values from ctl_port_register
Attached
Detach File
Event Timeline
Log In to Comment