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-11233 utils: fix build warnings for gcc8
[fs/lustre-release.git]
/
lnet
/
utils
/
lst.c
diff --git
a/lnet/utils/lst.c
b/lnet/utils/lst.c
index
7d11a24
..
6c8aaea
100644
(file)
--- a/
lnet/utils/lst.c
+++ b/
lnet/utils/lst.c
@@
-535,7
+535,7
@@
lst_new_session_ioctl(char *name, int timeout, int force, struct lst_sid *sid)
int
jt_lst_new_session(int argc, char **argv)
{
- char buf[LST_NAME_SIZE];
+ char buf[LST_NAME_SIZE
* 2 + 1
];
char *name;
int optidx = 0;
int timeout = 300;