From 52dff26c60c07cf1b4fbf8fbd3a1eab7ba90405f Mon Sep 17 00:00:00 2001 From: Chuck Lever Date: Fri, 6 Jun 2008 15:07:24 -0400 Subject: Fix error reporting when probe_bothports() fails while rewriting mount options. Signed-off-by: Chuck Lever Signed-off-by: Steve Dickson --- utils/mount/error.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'utils/mount/error.c') diff --git a/utils/mount/error.c b/utils/mount/error.c index 23a91ff..147e919 100644 --- a/utils/mount/error.c +++ b/utils/mount/error.c @@ -227,6 +227,9 @@ void mount_error(const char *spec, const char *mount_point, int error) nfs_error(_("%s: mount point %s does not exist"), progname, mount_point); break; + case ESPIPE: + rpc_mount_errors((char *)spec, 0, 0); + break; case EIO: case EFAULT: nfs_error(_("%s: internal error"), progname); -- cgit