Changeset 764 in MondoRescue for trunk/mondo/mondo/mondorestore
- Timestamp:
- Aug 8, 2006, 12:34:37 AM (18 years ago)
- Location:
- trunk/mondo/mondo/mondorestore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/mondo/mondorestore/mondo-prep.c
r729 r764 2190 2190 #else 2191 2191 asprintf(&program, "raidstart %s", raid_device); 2192 // sprintf (program, "raidstart " RAID_DEVICE_STUB "*");2193 2192 #endif 2194 2193 log_msg(1, "program = %s", program); -
trunk/mondo/mondo/mondorestore/mondo-rstr-newt.c
r729 r764 883 883 static int lines_in_flist_window = 0; 884 884 static int depth = 0; 885 int i = 0; 885 886 /** long **************************************************************/ 887 long i = 0; 886 888 887 889 /** structures *******************************************************/ … … 1363 1365 paranoid_free(size_str); 1364 1366 1365 newtListboxSetEntry(listbox, ( int) keylist[currline],1367 newtListboxSetEntry(listbox, (long) keylist[currline], 1366 1368 mountlist_entry_to_string(mountlist, currline)); 1367 1369 /* if new /dev/md RAID device then do funky stuff */ … … 2489 2491 { 2490 2492 2491 /** int*************************************************************/2492 inti = 0;2493 /** long **************************************************************/ 2494 long i = 0; 2493 2495 2494 2496 assert(disklist != NULL); … … 2521 2523 { 2522 2524 2523 /** int**************************************************************/2524 inti = 0;2525 /** long **************************************************************/ 2526 long i = 0; 2525 2527 2526 2528 assert(mountlist != NULL); … … 2554 2556 { 2555 2557 2556 /** int **************************************************************/2557 inti = 0;2558 /** long *************************************************************/ 2559 long i = 0; 2558 2560 2559 2561 /** buffers **********************************************************/ … … 2590 2592 void *keylist[], newtComponent listbox) 2591 2593 { 2592 /** int *************************************************************/2593 inti = 0;2594 /** long ************************************************************/ 2595 long i = 0; 2594 2596 2595 2597 /** buffers *********************************************************/ -
trunk/mondo/mondo/mondorestore/mondo-rstr-tools.c
r729 r764 2155 2155 asprintf(&command, "mount /dev/fd0u1722 %s", mountpt); 2156 2156 asprintf(&tmp, 2157 "(sleep 15; kill `ps ax| grep \"%s\" | cut -d' ' -f1` 2> /dev/null) &",2157 "(sleep 15; kill `ps | grep \"%s\" | cut -d' ' -f1` 2> /dev/null) &", 2158 2158 command); 2159 2159 log_msg(1, "tmp = '%s'", tmp);
Note:
See TracChangeset
for help on using the changeset viewer.