forked from linux-nvme/nvme-cli
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nvme-print: Serialize uint32_t types correctly
le32_to_cpu returns an unsigned type which gets extended to a signed type when using %d format specifier or json_object_add_value_int. Use %u in this case or json_object_add_value_uint accordingly. Signed-off-by: Tokunori Ikegami <[email protected]> [dwagner: added missing %u conversions] Signed-off-by: Daniel Wagner <[email protected]>
- Loading branch information
Showing
1 changed file
with
67 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters