Patchwork [02/13] nfsref: Adjust whitespace in "lookup" output

login
register
mail settings
Submitter Chuck Lever
Date Feb. 1, 2013, 5:20 p.m.
Message ID <20130201172000.63192.60743.stgit@seurat.1015granger.net>
Download mbox | patch
Permalink /patch/217529/
State Accepted
Headers show

Comments

Chuck Lever - Feb. 1, 2013, 5:20 p.m.
The FedFS Fileset location listing displayed the fileserver name and
port too far to the right.

Introduced by commit 04a9ffdf "Replace fedfsFslHost with
fedfsNfsURI", Wed Nov 28 20:35:24 2012.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
---

 src/nfsref/lookup.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/src/nfsref/lookup.c b/src/nfsref/lookup.c
index 3e3d1f4..6c8764d 100644
--- a/src/nfsref/lookup.c
+++ b/src/nfsref/lookup.c
@@ -195,8 +195,8 @@  nfsref_lookup_display_fedfs_nfs_fsl(struct fedfs_nfs_fsl *nfsl)
 {
 	char *rootpath;
 
-	printf("\tFileserver name:\t\t\t%s\n", nfsl->fn_fslhost);
-	printf("\tFileserver port:\t\t\t%u\n", nfsl->fn_fslport);
+	printf("\tFileserver name:\t\t%s\n", nfsl->fn_fslhost);
+	printf("\tFileserver port:\t\t%u\n", nfsl->fn_fslport);
 
 	if (nsdb_path_array_to_posix(nfsl->fn_nfspath, &rootpath) == FEDFS_OK) {
 		printf("\tExport path:\t\t\t%s\n", rootpath);