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-3131 tests: fix sanity 56u/102k for single OST.
[fs/lustre-release.git]
/
lnet
/
utils
/
routerstat.c
diff --git
a/lnet/utils/routerstat.c
b/lnet/utils/routerstat.c
index
2baa759
..
f31f811
100644
(file)
--- a/
lnet/utils/routerstat.c
+++ b/
lnet/utils/routerstat.c
@@
-106,7
+106,7
@@
do_stat (int fd)
lseek (fd, 0, SEEK_SET);
now = timenow();
- n = read
(fd, buffer, sizeof (buffer)
);
+ n = read
(fd, buffer, sizeof(buffer) - 1
);
if (n < 0)
{
fprintf (stderr, "Can't read statfile\n");