Whamcloud - gitweb
LU-14093 utils: trivial changes to support gcc10
[fs/lustre-release.git] / lustre / utils / mkfs_lustre.c
index b1f0f58..75979b9 100644 (file)
@@ -27,7 +27,6 @@
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
- * Lustre is a trademark of Sun Microsystems, Inc.
  *
  * lustre/utils/mkfs_lustre.c
  *
@@ -272,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;