]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
mount.nfs: Combine two verbose messages into one
authorChuck Lever <chuck.lever@oracle.com>
Tue, 21 Aug 2007 16:19:18 +0000 (12:19 -0400)
committerNeil Brown <neilb@suse.de>
Fri, 24 Aug 2007 03:15:02 +0000 (13:15 +1000)
A little less noise.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Neil Brown <neilb@suse.de>
utils/mount/stropts.c

index c11420069d97e363d456eb2c998c8e0054cfd03d..95392a1f6eb67de47fe2a76c3825fb14d32d3412 100644 (file)
@@ -254,17 +254,13 @@ int nfsmount_s(const char *spec, const char *node, int flags,
 {
        int retval = EX_FAIL;
 
-       if (verbose)
-               printf(_("%s: using C string mount system call interface\n"),
-                       progname);
-
        extract_interesting_options(*extra_opts);
 
        if (!addr_opt && !append_addr_opt(spec, extra_opts))
                goto fail;
 
        if (verbose)
-               printf(_("%s: option string is '%s'\n"),
+               printf(_("%s: text-based options: '%s'\n"),
                        progname, *extra_opts);
 
        if (!fake) {
@@ -300,10 +296,6 @@ int nfs4mount_s(const char *spec, const char *node, int flags,
 {
        int retval = EX_FAIL;
 
-       if (verbose)
-               printf(_("%s: using C string mount system call interface\n"),
-                       progname);
-
        extract_interesting_options(*extra_opts);
 
        if (!addr_opt && !append_addr_opt(spec, extra_opts))
@@ -313,7 +305,7 @@ int nfs4mount_s(const char *spec, const char *node, int flags,
                goto fail;
 
        if (verbose)
-               printf(_("%s: option string is '%s'\n"),
+               printf(_("%s: text-based options: '%s'\n"),
                        progname, *extra_opts);
 
        if (!fake) {