mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 23:34:31 +04:00
Bump to latest upstream release. Removed upstreamed: 021-pligins-netapp-add-include-of-libgen.h-for-basename.patch Manually rebased: 010-gcc14.patch Build system: x86/64 Build-tested: x86/64 Run-tested: x86/64 Signed-off-by: John Audia <therealgraysky@proton.me>
12 lines
510 B
Diff
12 lines
510 B
Diff
--- a/plugins/virtium/virtium-nvme.c
|
|
+++ b/plugins/virtium/virtium-nvme.c
|
|
@@ -127,7 +127,7 @@ static void vt_convert_smart_data_to_hum
|
|
|
|
capacity = le64_to_cpu(smart->raw_ns.nsze) * lba;
|
|
|
|
- snprintf(tempbuff, sizeof(tempbuff), "log;%s;%llu;%s;%s;%-.*s;", smart->raw_ctrl.sn,
|
|
+ snprintf(tempbuff, sizeof(tempbuff), "log;%s;%" PRId64 ";%s;%s;%-.*s;", smart->raw_ctrl.sn,
|
|
(unsigned long long)smart->time_stamp, smart->path,
|
|
smart->raw_ctrl.mn, (int)sizeof(smart->raw_ctrl.fr),
|
|
smart->raw_ctrl.fr);
|