HomeFreeBSD

mount_zfs: print strerror instead of errno for error reporting

Description

mount_zfs: print strerror instead of errno for error reporting

Tracking down an error message with the errno value can be difficult,
using strerror makes the error message clearer.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Érico Rolim <erico.erc@gmail.com>
Closes #11303

Details

Provenance
Érico Nogueira Rolim <34201958+ericonr@users.noreply.github.com>Authored on Dec 10 2020, 5:24 AM
GitHub <noreply@github.com>Committed on Dec 10 2020, 5:24 AM
Parents
rG1e4667af320d: Drop path prefix workaround
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG957f9681eb7c: mount_zfs: print strerror instead of errno for error reporting (authored by Érico Nogueira Rolim <34201958+ericonr@users.noreply.github.com>).Dec 10 2020, 5:24 AM