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:
c79f464
)
Branch HEAD
author
adilger
<adilger>
Thu, 10 May 2007 03:41:20 +0000
(
03:41
+0000)
committer
adilger
<adilger>
Thu, 10 May 2007 03:41:20 +0000
(
03:41
+0000)
Quiet compiler warning.
b=11757
lustre/utils/liblustreapi.c
patch
|
blob
|
history
diff --git
a/lustre/utils/liblustreapi.c
b/lustre/utils/liblustreapi.c
index
0ea4b93
..
da0c472
100644
(file)
--- a/
lustre/utils/liblustreapi.c
+++ b/
lustre/utils/liblustreapi.c
@@
-202,7
+202,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,
&uuidp[index]) <
2)
+ if (sscanf(buf, "%d: %s", &index,
(char *)&uuidp[index].uuid)<
2)
break;
index++;
}