fh_key_file.c: Fix build error with musl
Subsystems (2)
PATCH 1/1 fh_key_file.c: Fix build error with musl
From: Robert Yang <[email protected]>
Fixed:
error: implicit declaration of function 'strerror'
Signed-off-by Robert Yang <[email protected]>
--- support/nfs/fh_key_file.c | 2 ++ 1 file changed, 2 insertions(+)
support/nfs/fh_key_file.c +2 -0
@@ -30,6 +30,8 @@#include "nfslib.h" +#include <string.h> +#define HASH_BLOCKSIZE 256int hash_fh_key_file (const char *fh_key_file,uuid_t uuid) {
Signature · 1 line
2.49.0
Quoted 4 lines · On 8 May 2026, at 9:57, [email protected] wrote:
From: Robert Yang <[email protected]>
Fixed:
error: implicit declaration of function 'strerror'
Giulio sent a patch for this already:
https://lore.kernel.org/linux-nfs/[email protected]/
Steve D - did you pick that one up yet?
Ben
Quoted 11 lines · Benjamin Coddington
Quoted 4 lines · On 8 May 2026, at 9:57, [email protected] wrote:
From: Robert Yang <[email protected]>
Fixed:
error: implicit declaration of function 'strerror'Giulio sent a patch for this already:
https://lore.kernel.org/linux-nfs/[email protected]/Steve D - did you pick that one up yet?
Nope! It was hiding in a bunch of kernel patch
w/out a nfs-utils subject tag.
It is on todo list now...
steved.