Message ID | 1455367330-14781-1-git-send-email-steved@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 02/13/2016 07:42 AM, Steve Dickson wrote: > Use the verbose command flag to turn on or off > logging to stderr. > > Signed-off-by: Steve Dickson <steved@redhat.com> Committed... steved. > --- > utils/nfsidmap/nfsidmap.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/utils/nfsidmap/nfsidmap.c b/utils/nfsidmap/nfsidmap.c > index 15b4a51..d980c68 100644 > --- a/utils/nfsidmap/nfsidmap.c > +++ b/utils/nfsidmap/nfsidmap.c > @@ -428,7 +428,7 @@ int main(int argc, char **argv) > return keyring_clear(DEFAULT_KEYRING); > } > > - xlog_stderr(0); > + xlog_stderr(verbose); > if ((argc - optind) != 2) { > xlog_err("Bad arg count. Check /etc/request-key.conf"); > xlog_warn(usage, progname); > -- 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 --git a/utils/nfsidmap/nfsidmap.c b/utils/nfsidmap/nfsidmap.c index 15b4a51..d980c68 100644 --- a/utils/nfsidmap/nfsidmap.c +++ b/utils/nfsidmap/nfsidmap.c @@ -428,7 +428,7 @@ int main(int argc, char **argv) return keyring_clear(DEFAULT_KEYRING); } - xlog_stderr(0); + xlog_stderr(verbose); if ((argc - optind) != 2) { xlog_err("Bad arg count. Check /etc/request-key.conf"); xlog_warn(usage, progname);
Use the verbose command flag to turn on or off logging to stderr. Signed-off-by: Steve Dickson <steved@redhat.com> --- utils/nfsidmap/nfsidmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)