Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108615324
D36899.id111994.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
684 B
Referenced Files
None
Subscribers
None
D36899.id111994.diff
View Options
diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c
--- a/sys/kern/subr_bus.c
+++ b/sys/kern/subr_bus.c
@@ -5591,8 +5591,9 @@
char *path;
ssize_t len;
- error = copyinstr(req->dr_buffer.buffer, locator, sizeof(locator), NULL);
- if (error)
+ error = copyinstr(req->dr_buffer.buffer, locator,
+ sizeof(locator), NULL);
+ if (error != 0)
break;
path = device_get_path(dev, locator);
if (path == NULL) {
@@ -5698,7 +5699,8 @@
}
bool
-dev_wired_cache_match(device_location_cache_t *dcp, device_t dev, const char *at)
+dev_wired_cache_match(device_location_cache_t *dcp, device_t dev,
+ const char *at)
{
const char *cp, *path;
char locator[32];
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 27, 9:52 PM (5 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16215439
Default Alt Text
D36899.id111994.diff (684 B)
Attached To
Mode
D36899: Better handling of nexus and errors for DEV_GET_PATH
Attached
Detach File
Event Timeline
Log In to Comment