[systemd-devel] [PATCH] socket-proxyd: Unchecked return value from library

David Herrmann dh.herrmann at gmail.com
Thu Oct 9 06:34:40 PDT 2014


Hi

On Thu, Oct 9, 2014 at 3:31 PM, Susant Sahani <susant at redhat.com> wrote:
> CID 1237543 (#1 of 1): Unchecked return value from library
> (CHECKED_RETURN)
> ---
>  src/socket-proxy/socket-proxyd.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/socket-proxy/socket-proxyd.c b/src/socket-proxy/socket-proxyd.c
> index ff2b24f..3041903 100644
> --- a/src/socket-proxy/socket-proxyd.c
> +++ b/src/socket-proxy/socket-proxyd.c
> @@ -125,7 +125,7 @@ static int connection_create_pipes(Connection *c, int buffer[2], size_t *sz) {
>                  return -errno;
>          }
>
> -        fcntl(buffer[0], F_SETPIPE_SZ, BUFFER_SIZE);
> +        (void) fcntl(buffer[0], F_SETPIPE_SZ, BUFFER_SIZE);

Applied, thanks!

David

>          r = fcntl(buffer[0], F_GETPIPE_SZ);
>          if (r < 0) {
> --
> 2.1.0
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel


More information about the systemd-devel mailing list