Changeset 2190 in MondoRescue for branches/2.2.9/mondo/src/mondorestore/mondo-prep.c
- Timestamp:
- May 5, 2009, 3:56:10 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/mondorestore/mondo-prep.c
r2188 r2190 596 596 } 597 597 // create device list from normal disks followed by spare ones 598 asprintf(&devices, raidlist->el[i].data_disks.el[0].device);598 asprintf(&devices, "%s", raidlist->el[i].data_disks.el[0].device); 599 599 for (j = 1; j < raidlist->el[i].data_disks.entries; j++) { 600 600 asprintf(&strtmp, "%s", devices); … … 2151 2151 } else { 2152 2152 res = 0; 2153 fprintf(fout, output);2153 fprintf(fout, "%s", output); 2154 2154 paranoid_pclose(fout); 2155 2155 }
Note:
See TracChangeset
for help on using the changeset viewer.