From: <liezhi.yang@windriver.com>
To: <steved@redhat.com>
Cc: <linux-nfs@vger.kernel.org>
Subject: [nfs-utils PATCH] fh_key_file.c: Fix build error with musl
Date: Fri, 8 May 2026 06:57:32 -0700 [thread overview]
Message-ID: <20260508135732.524301-1-liezhi.yang@windriver.com> (raw)
From: Robert Yang <liezhi.yang@windriver.com>
Fixed:
error: implicit declaration of function 'strerror'
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
support/nfs/fh_key_file.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/support/nfs/fh_key_file.c b/support/nfs/fh_key_file.c
index 5f5eafc1..89555cee 100644
--- a/support/nfs/fh_key_file.c
+++ b/support/nfs/fh_key_file.c
@@ -30,6 +30,8 @@
#include "nfslib.h"
+#include <string.h>
+
#define HASH_BLOCKSIZE 256
int hash_fh_key_file(const char *fh_key_file, uuid_t uuid)
{
--
2.49.0
next reply other threads:[~2026-05-08 13:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-08 13:57 liezhi.yang [this message]
2026-05-08 14:08 ` [nfs-utils PATCH] fh_key_file.c: Fix build error with musl Benjamin Coddington
2026-05-11 14:16 ` Steve Dickson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260508135732.524301-1-liezhi.yang@windriver.com \
--to=liezhi.yang@windriver.com \
--cc=linux-nfs@vger.kernel.org \
--cc=steved@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox