Line 0
Link Here
|
|
|
1 |
--- os_freebsd.cpp.orig 2017-04-24 16:34:16 UTC |
2 |
+++ os_freebsd.cpp |
3 |
@@ -484,7 +484,7 @@ bool freebsd_nvme_device::open() |
4 |
} |
5 |
nsid = 0xFFFFFFFF; // broadcast id |
6 |
} |
7 |
- else if (sscanf(dev, NVME_CTRLR_PREFIX"%d"NVME_NS_PREFIX"%d%c", |
8 |
+ else if (sscanf(dev, NVME_CTRLR_PREFIX"%d" NVME_NS_PREFIX "%d%c", |
9 |
&ctrlid, &nsid, &tmp) == 2) |
10 |
{ |
11 |
if(ctrlid < 0 || nsid < 0) { |