Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbf4c34
)
LU-708 utils: convert_hostnames() should not change its arg
author
Bobi Jam
<bobijam@whamcloud.com>
Tue, 14 Aug 2012 01:39:59 +0000
(09:39 +0800)
committer
Oleg Drokin
<green@whamcloud.com>
Thu, 16 Aug 2012 12:59:27 +0000
(08:59 -0400)
Fix an omission.
Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: I29b6179ef7d36751d1a9bd28119ab14145bf2f61
Reviewed-on: http://review.whamcloud.com/3628
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Fan Yong <yong.fan@whamcloud.com>
lustre/utils/mkfs_lustre.c
patch
|
blob
|
history
diff --git
a/lustre/utils/mkfs_lustre.c
b/lustre/utils/mkfs_lustre.c
index
bd90059
..
e501231
100644
(file)
--- a/
lustre/utils/mkfs_lustre.c
+++ b/
lustre/utils/mkfs_lustre.c
@@
-245,6
+245,7
@@
static char *convert_hostnames(char *s1)
sep = *s2;
*s2 = '\0';
nid = libcfs_str2nid(s1);
+ *s2 = sep;
if (nid == LNET_NID_ANY) {
fprintf(stderr, "%s: Can't parse NID '%s'\n",