Page MenuHomeFreeBSD

D36899.id111994.diff
No OneTemporary

D36899.id111994.diff

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

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)

Event Timeline