[Virtio-fs] [PATCH] virtiofsd: Add missing newline in error message

Laurent Vivier laurent at vivier.eu
Fri Jul 9 09:06:34 UTC 2021


Le 01/07/2021 à 23:11, Hubert Jasudowicz a écrit :
> From: Hubert Jasudowicz <hubert.jasudowicz at gmail.com>
> 
> Signed-off-by: Hubert Jasudowicz <hubert.jasudowicz at gmail.com>
> ---
>  tools/virtiofsd/fuse_virtio.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/virtiofsd/fuse_virtio.c b/tools/virtiofsd/fuse_virtio.c
> index fa4aff9b0e..fc2564a603 100644
> --- a/tools/virtiofsd/fuse_virtio.c
> +++ b/tools/virtiofsd/fuse_virtio.c
> @@ -917,7 +917,7 @@ static bool fv_socket_lock(struct fuse_session *se)
>      dir = qemu_get_local_state_pathname("run/virtiofsd");
>  
>      if (g_mkdir_with_parents(dir, S_IRWXU) < 0) {
> -        fuse_log(FUSE_LOG_ERR, "%s: Failed to create directory %s: %s",
> +        fuse_log(FUSE_LOG_ERR, "%s: Failed to create directory %s: %s\n",
>                   __func__, dir, strerror(errno));
>          return false;
>      }
> 
Applied to my trivial-patches branch.

Thanks,
Laurent




More information about the Virtio-fs mailing list