Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162703814
D55060.id171013.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
779 B
Referenced Files
None
Subscribers
None
D55060.id171013.diff
View Options
diff --git a/sbin/nvmecontrol/telemetry.c b/sbin/nvmecontrol/telemetry.c
--- a/sbin/nvmecontrol/telemetry.c
+++ b/sbin/nvmecontrol/telemetry.c
@@ -139,7 +139,7 @@
/* Read the log page */
size = sizeof(tlp);
off = 0;
- read_logpage(fd, NVME_LOG_TELEMETRY_HOST_INITIATED, nsid, 0, 0, true,
+ read_logpage(fd, NVME_LOG_TELEMETRY_HOST_INITIATED, nsid, 0, 0, 1,
off, 0, 0, 0, &tlp, size);
switch(opt.da) {
case 1:
@@ -171,7 +171,7 @@
(unsigned long long)blocks);
fflush(stdout);
}
- read_logpage(fd, NVME_LOG_TELEMETRY_HOST_INITIATED, nsid, 0, 0, true,
+ read_logpage(fd, NVME_LOG_TELEMETRY_HOST_INITIATED, nsid, 0, 0, 1,
off, 0, 0, 0, &buf, chunk);
if (write(fdout, &buf, chunk) != chunk)
err(EX_IOERR, "Error writing %s", opt.outfn);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 16, 11:24 PM (4 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35128354
Default Alt Text
D55060.id171013.diff (779 B)
Attached To
Mode
D55060: nvmecontrol: Pass 1 to uint8_t arg
Attached
Detach File
Event Timeline
Log In to Comment