linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steve Dickson <SteveD@RedHat.com>
To: Patrick Steinhardt <ps@pks.im>, linux-nfs@vger.kernel.org
Subject: Re: [PATCH 3/3] tests: add missing include for strerror(3P)
Date: Mon, 26 Aug 2019 14:03:59 -0400	[thread overview]
Message-ID: <814c5e74-03ec-62ce-3801-e69a7f7bc670@RedHat.com> (raw)
In-Reply-To: <7e2258fd221466a2974dcf7f0643c65168b429f8.1566805721.git.ps@pks.im>



On 8/26/19 3:48 AM, Patrick Steinhardt wrote:
> The function strerror(3P) is declared in <string.h>, but it is not
> included in "statdb_dump.c". Include it to fix compile errors.
> 
> Signed-off-by: Patrick Steinhardt <ps@pks.im>
> ---
>  tests/statdb_dump.c | 1 +
>  1 file changed, 1 insertion(+)
Committed...

steved.
> 
> diff --git a/tests/statdb_dump.c b/tests/statdb_dump.c
> index 92d63f29..3ac12bff 100644
> --- a/tests/statdb_dump.c
> +++ b/tests/statdb_dump.c
> @@ -23,6 +23,7 @@
>  #include "config.h"
>  #endif
>  
> +#include <string.h>
>  #include <stdio.h>
>  #include <errno.h>
>  #include <arpa/inet.h>
> 

  reply	other threads:[~2019-08-26 18:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-26  7:48 [PATCH 1/3] mount: fix compilation if __GLIBC__ is not defined Patrick Steinhardt
2019-08-26  7:48 ` [PATCH 2/3] nfsdcld: add missing include for PATH_MAX Patrick Steinhardt
2019-08-26 18:03   ` Steve Dickson
2019-08-26  7:48 ` [PATCH 3/3] tests: add missing include for strerror(3P) Patrick Steinhardt
2019-08-26 18:03   ` Steve Dickson [this message]
2019-08-26 18:03 ` [PATCH 1/3] mount: fix compilation if __GLIBC__ is not defined 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=814c5e74-03ec-62ce-3801-e69a7f7bc670@RedHat.com \
    --to=steved@redhat.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=ps@pks.im \
    /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;
as well as URLs for NNTP newsgroup(s).