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
b=15699
[fs/lustre-release.git]
/
lustre
/
obdclass
/
obd_mount.c
diff --git
a/lustre/obdclass/obd_mount.c
b/lustre/obdclass/obd_mount.c
index
d6e7222
..
71ea569
100644
(file)
--- a/
lustre/obdclass/obd_mount.c
+++ b/
lustre/obdclass/obd_mount.c
@@
-1673,7
+1673,7
@@
int server_name2index(char *svname, __u32 *idx, char **endptr)
{
unsigned long index;
int rc;
- char *dash = strchr(svname, '-');
+ char *dash = str
r
chr(svname, '-');
if (!dash)
return(-EINVAL);