warn(3), warnx(3), err(3), and errx(3) print to stderr even when the --syslog
option was given. In this case messages to stderr are likely to be lost and
this makes troubleshooting hard. Use "fuse_log.h" APIs instead of <err.h>.
Stefan Hajnoczi (2):
virtiofsd: replace warn(3) and warnx(3) with fuse_warning()
virtiofsd: replace err(3) and errx(3) with fuse_err()
contrib/virtiofsd/passthrough_ll.c | 143 ++++++++++++++++++-----------
contrib/virtiofsd/seccomp.c | 15 ++-
2 files changed, 99 insertions(+), 59 deletions(-)
--
2.21.0