diff mbox

[2/2,V2] mount.nfs: error message clean up.

Message ID 1354035684-15802-2-git-send-email-steved@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Steve Dickson Nov. 27, 2012, 5:01 p.m. UTC
Remove a unnecessary newline in an error message.

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 utils/mount/error.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Steve Dickson Nov. 28, 2012, 2:41 p.m. UTC | #1
On 27/11/12 12:01, Steve Dickson wrote:
> Remove a unnecessary newline in an error message.
> 
> Signed-off-by: Steve Dickson <steved@redhat.com>
> ---
>  utils/mount/error.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
Committed....

steved.

> diff --git a/utils/mount/error.c b/utils/mount/error.c
> index 83ad1d2..f8fc13f 100644
> --- a/utils/mount/error.c
> +++ b/utils/mount/error.c
> @@ -225,7 +225,7 @@ void mount_error(const char *spec, const char *mount_point, int error)
>  	case ENOENT:
>  		if (spec)
>  			nfs_error(_("%s: mounting %s failed, "
> -				"reason given by server:\n  %s"),
> +				"reason given by server: %s"),
>  				progname, spec, strerror(error));
>  		else
>  			nfs_error(_("%s: mount point %s does not exist"),
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/utils/mount/error.c b/utils/mount/error.c
index 83ad1d2..f8fc13f 100644
--- a/utils/mount/error.c
+++ b/utils/mount/error.c
@@ -225,7 +225,7 @@  void mount_error(const char *spec, const char *mount_point, int error)
 	case ENOENT:
 		if (spec)
 			nfs_error(_("%s: mounting %s failed, "
-				"reason given by server:\n  %s"),
+				"reason given by server: %s"),
 				progname, spec, strerror(error));
 		else
 			nfs_error(_("%s: mount point %s does not exist"),