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-14093 utils: trivial changes to support gcc10
[fs/lustre-release.git]
/
lustre
/
utils
/
mkfs_lustre.c
diff --git
a/lustre/utils/mkfs_lustre.c
b/lustre/utils/mkfs_lustre.c
index
153a466
..
75979b9
100644
(file)
--- a/
lustre/utils/mkfs_lustre.c
+++ b/
lustre/utils/mkfs_lustre.c
@@
-271,7
+271,7
@@
static inline void badopt(const char *opt, char *type)
static int erase_param(const char *const buf, const char *const param,
bool withval)
{
- char search[PARAM_MAX +
1
] = "";
+ char search[PARAM_MAX +
8
] = "";
char *buffer = (char *)buf;
bool found = false;