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-2227 build: fix 'memory illegal access' errors
[fs/lustre-release.git]
/
lustre
/
fld
/
fld_cache.c
diff --git
a/lustre/fld/fld_cache.c
b/lustre/fld/fld_cache.c
index
e6ff0a7
..
b21ead4
100644
(file)
--- a/
lustre/fld/fld_cache.c
+++ b/
lustre/fld/fld_cache.c
@@
-87,7
+87,7
@@
struct fld_cache *fld_cache_init(const char *name,
cache->fci_cache_count = 0;
rwlock_init(&cache->fci_lock);
-
strn
cpy(cache->fci_name, name,
+
strl
cpy(cache->fci_name, name,
sizeof(cache->fci_name));
cache->fci_cache_size = cache_size;