Whamcloud - gitweb
LU-10973 lnet: initialize buffers properly 83/38083/5
authorAmir Shehata <ashehata@whamcloud.com>
Mon, 11 May 2020 14:32:41 +0000 (10:32 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 20 May 2020 08:25:20 +0000 (08:25 +0000)
commit36a97084791899e73b32b381a98f4f9f51348fe9
tree591e79ba776ff54514c95fb4a1ff6db9bb43ef2d
parentee916af10de2f9e1dd8b79d1f08a78401277ef96
LU-10973 lnet: initialize buffers properly

Initialize the error message buffer properly to avoid
garbage characters printed out.

Test-Parameters: trivial
Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Change-Id: I9c0d08ea2baf0cda990e3abb7e7de497a5226bfe
Reviewed-on: https://review.whamcloud.com/38083
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/utils/lnetconfig/liblnetconfig.c