Ignore:
Timestamp:
May 5, 2009, 3:56:10 AM (12 years ago)
Author:
Bruno Cornec
Message:
  • Fix lack of formating (discovered by the new Mandriva build process, and adopted here as well as it's good practice).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/mondorestore/mondo-prep.c

    r2188 r2190  
    596596  }
    597597  // 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);
    599599  for (j = 1; j < raidlist->el[i].data_disks.entries; j++) {
    600600    asprintf(&strtmp, "%s", devices);
     
    21512151            } else {
    21522152                res = 0;
    2153                 fprintf(fout, output);
     2153                fprintf(fout, "%s", output);
    21542154                paranoid_pclose(fout);
    21552155            }
Note: See TracChangeset for help on using the changeset viewer.