Changeset 1188 in MondoRescue for trunk/mondo/src/mondoarchive/mondo-cli.c
- Timestamp:
- Feb 20, 2007, 3:03:55 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/src/mondoarchive/mondo-cli.c
r1086 r1188 11 11 12 12 #include "my-stuff.h" 13 #include " ../common/mondostructures.h"13 #include "mondostructures.h" 14 14 #include "mondo-cli-EXT.h" 15 #include " ../common/libmondo.h"15 #include "libmondo.h" 16 16 #ifndef S_SPLINT_S 17 17 #include <pthread.h> 18 18 #endif 19 19 #include "mr_mem.h" 20 #include "mr_msg.h" 21 22 //static char cvsid[] = "$Id$"; 20 23 21 24 extern int g_loglevel; … … 23 26 extern bool g_skip_floppies; ///< Whether to skip the creation of boot disks 24 27 extern bool g_cd_recovery; 25 extern double g_kernel_version;26 extern char *resolve_softlinks_to_get_to_actual_device_file(char *);27 28 28 29 /** … … 63 64 int res = 0; 64 65 int retval = 0; 65 int i = 0, j ;66 int i = 0, j = 0; 66 67 67 68 /*@ buffers *************** */ 68 char *tmp ;69 char *tmp = NULL; 69 70 char *flag_val[128]; 70 71 bool flag_set[128]; … … 95 96 for (i = 0; i < 128; i++) { 96 97 if (flag_set[i]) { 97 mr_asprintf(&tmp, "-%c %s", i, flag_val[i]); 98 mr_msg(3, tmp); 99 mr_free(tmp); 98 mr_msg(3, "-%c %s", i, flag_val[i]); 100 99 } 101 100 }
Note:
See TracChangeset
for help on using the changeset viewer.