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:
12a5cad
)
A better fix from Eric.
author
adilger
<adilger>
Mon, 7 Oct 2002 20:58:34 +0000
(20:58 +0000)
committer
adilger
<adilger>
Mon, 7 Oct 2002 20:58:34 +0000
(20:58 +0000)
lustre/obdclass/lprocfs.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/lprocfs.c
b/lustre/obdclass/lprocfs.c
index
9e5bc81
..
5166ee9
100644
(file)
--- a/
lustre/obdclass/lprocfs.c
+++ b/
lustre/obdclass/lprocfs.c
@@
-527,7
+527,7
@@
int lprocfs_getclass_idx(struct groupspace_index* group, const char* classname)
{
unsigned int idx = 0;
- while (group[idx].name !=
""
) {
+ while (group[idx].name !=
NULL
) {
if (!strcmp(group[idx].name, classname))
return idx;
idx++;