virtiofsd: Fix fuse_daemonize ignored return values
commit30d8e49760712d65697ea517c53671bd1d214fc7
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 8 Feb 2019 16:05:24 +0000 (8 16:05 +0000)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 23 Jan 2020 16:41:36 +0000 (23 16:41 +0000)
tree8dd33624035d954b53dc580e5413b9477774b67b
parent8c3fe75e0308ba2f01d160ace534b7e386cea808
virtiofsd: Fix fuse_daemonize ignored return values

QEMU's compiler enables warnings/errors for ignored values
and the (void) trick used in the fuse code isn't enough.
Turn all the return values into a return value on the function.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
tools/virtiofsd/helper.c