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:
5bbf34e
)
Branch b1_6
author
adilger
<adilger>
Fri, 1 Jun 2007 06:13:24 +0000
(06:13 +0000)
committer
adilger
<adilger>
Fri, 1 Jun 2007 06:13:24 +0000
(06:13 +0000)
Don't actually need a cast for this.
lustre/utils/liblustreapi.c
patch
|
blob
|
history
diff --git
a/lustre/utils/liblustreapi.c
b/lustre/utils/liblustreapi.c
index
7fafd6f
..
fa65c1e
100644
(file)
--- a/
lustre/utils/liblustreapi.c
+++ b/
lustre/utils/liblustreapi.c
@@
-198,7
+198,7
@@
int llapi_lov_get_uuids(int fd, struct obd_uuid *uuidp, int *ost_count)
}
while ((fgets(buf, sizeof(buf), fp) != NULL) && index < *ost_count) {
- if (sscanf(buf, "%d: %s", &index,
(char *)&uuidp[index].uuid)<
2)
+ if (sscanf(buf, "%d: %s", &index,
uuidp[index].uuid) <
2)
break;
index++;
}