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-4136 obdclass: use obd_get_info to report network status
[fs/lustre-release.git]
/
lustre
/
utils
/
llverfs.c
diff --git
a/lustre/utils/llverfs.c
b/lustre/utils/llverfs.c
index
8200826
..
87c9a9c
100644
(file)
--- a/
lustre/utils/llverfs.c
+++ b/
lustre/utils/llverfs.c
@@
-27,7
+27,7
@@
* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*
* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*
- * Copyright (c) 2011,
Whamcloud, Inc
.
+ * Copyright (c) 2011,
Intel Corporation
.
*/
/*
* This file is part of Lustre, http://www.lustre.org/
*/
/*
* This file is part of Lustre, http://www.lustre.org/
@@
-869,7
+869,8
@@
guess:
fprintf(stderr, "Memory allocation failed for chunk_buf\n");
return 4;
}
fprintf(stderr, "Memory allocation failed for chunk_buf\n");
return 4;
}
- sprintf(filecount, "%s/%s.filecount", testdir, progname);
+ snprintf(filecount, sizeof(filecount), "%s/%s.filecount",
+ testdir, progname);
if (writeoption) {
(void)mkdir(testdir, dirmode);
if (writeoption) {
(void)mkdir(testdir, dirmode);