Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-8064 lctl: fix a typo in lustre_cfg.c
[fs/lustre-release.git]
/
lustre
/
utils
/
lustre_cfg.c
diff --git
a/lustre/utils/lustre_cfg.c
b/lustre/utils/lustre_cfg.c
index
19fdf66
..
f9d4a16
100644
(file)
--- a/
lustre/utils/lustre_cfg.c
+++ b/
lustre/utils/lustre_cfg.c
@@
-1171,7
+1171,7
@@
param_display(struct param_opts *popt, char *pattern, char *value,
* there isn't much point trying to use fprintf() */
continue;
}
- if (rc >= sizeof(pathname)) {
+ if (rc
2
>= sizeof(pathname)) {
fprintf(stderr, "error: %s: overflow processing '%s'\n",
opname, pathname);
if (rc == 0)