Changeset 2334 in MondoRescue for branches/2.2.10/mondo/test/test-string.c
- Timestamp:
- Aug 18, 2009, 5:28:18 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/test/test-string.c
r2310 r2334 22 22 char *string = NULL; 23 23 24 mr_asprintf( &string, "%s", "md0 : active raid10 hda1[0] hda12[3] hda6[2] hda5[1]\n");24 mr_asprintf(string, "%s", "md0 : active raid10 hda1[0] hda12[3] hda6[2] hda5[1]\n"); 25 25 fprintf(stdout, "string=|%s|\n", string); 26 26 token = mr_strtok(string, delims, &lastpos);
Note:
See TracChangeset
for help on using the changeset viewer.