mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-24 17:44:17 +01:00
nvmecontrol: Appease a meaningless signed error warning thing
Consistently use the weird ssize_t type for things I know are unsigned, but which none-the-less need to be compared to signed things to prevent a bogus warning. Sigh, these aren't bugs, can't possibly be bugs and a waste of time to fix. Sponsored by: Netflix
This commit is contained in:
parent
e63d20b70e
commit
3d966ae789
@ -96,9 +96,9 @@ telemetry_log(const struct cmd *f, int argc, char *argv[])
|
||||
int fd, fdout;
|
||||
char *path;
|
||||
uint32_t nsid;
|
||||
uint64_t size;
|
||||
ssize_t size;
|
||||
uint64_t off;
|
||||
uint32_t chunk;
|
||||
ssize_t chunk;
|
||||
struct nvme_controller_data cdata;
|
||||
bool can_telemetry;
|
||||
struct nvme_telemetry_log_page tlp, buf;
|
||||
|
Loading…
Reference in New Issue
Block a user