HomeFreeBSD

nvmecontrol: Fix i386 build

Description

nvmecontrol: Fix i386 build

Fix:

  • all_subdir_sbin ---

/opt/src/git-src/sbin/nvmecontrol/modules/samsung/samsung.c:149:64:
error: format specifies type 'unsigned long' but the argument has type
'uint64_t' (aka 'unsigned long long') [-Werror,-Wformat]

printf("   Read Reclaim Count                       : %lu\n",

le64dec(&temp->rrc));

~~~

^~~~~~~~~~~~~~~~~~~

%llu

/opt/src/git-src/sbin/nvmecontrol/modules/samsung/samsung.c:150:64:
error: forma t specifies type 'unsigned long' but the argument has type
'uint64_t' (aka 'unsigned long long') [-Werror,-Wformat]

printf("   Lifetime Uncorrectable ECC Count         : %lu\n",

le64dec(&temp->lueccc));

~~~

^~~~~~~~~~~~~~~~~~~~~~

%llu

2 errors generated.

Fixes: 84e86788705c176cc195e4a9831c0be08dcece31

Details

Provenance
cyAuthored on Oct 6 2022, 5:56 PM
Parents
rGe6d47601a34e: Makefile: replace mergemaster references with etcupdate
Branches
Unknown
Tags
Unknown