X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmount%2Ferror.c;h=5c9d3f2f69a3952131516d44fac8d6b4e202cf5a;hp=147e919bd56fdd29649ed205f7233ba66e6681b4;hb=3724317e223d46908aac2405bbd73ea2de4f36e5;hpb=52dff26c60c07cf1b4fbf8fbd3a1eab7ba90405f diff --git a/utils/mount/error.c b/utils/mount/error.c index 147e919..5c9d3f2 100644 --- a/utils/mount/error.c +++ b/utils/mount/error.c @@ -35,8 +35,6 @@ #include #include #include -#include -#include #include "xcommon.h" #include "nls.h" @@ -231,8 +229,13 @@ void mount_error(const char *spec, const char *mount_point, int error) rpc_mount_errors((char *)spec, 0, 0); break; case EIO: + nfs_error(_("%s: mount system call failed"), progname); + break; case EFAULT: - nfs_error(_("%s: internal error"), progname); + nfs_error(_("%s: encountered unexpected error condition."), + progname); + nfs_error(_("%s: please report the error to" PACKAGE_BUGREPORT), + progname); break; default: nfs_error(_("%s: %s"),