Skip to content
Snippets Groups Projects
Commit 1f4ad316 authored by Andreas Dilger's avatar Andreas Dilger
Browse files

Branch b1_6

Don't actually need a cast for this.
parent 5bbf34e5
No related branches found
No related tags found
No related merge requests found
......@@ -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++;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment