Changeset 1115 in MondoRescue for branches/stable/mondo/src/common/libmondo-fork.c
- Timestamp:
- Feb 9, 2007, 12:58:33 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/common/libmondo-fork.c
r1113 r1115 181 181 char *callstr = NULL; 182 182 char *incoming = NULL; 183 char *tmp = NULL; 183 184 184 185 /*@ int ********************************************************* */ … … 218 219 219 220 len = (int) strlen(program); 221 malloc_string(tmp); 220 222 for (i = 0; i < 35 - len / 2; i++) { 221 223 tmp[i] = '-'; … … 229 231 } 230 232 strcpy(initial_label, tmp); 233 mr_free(tmp); 234 231 235 res = system(callstr); 232 236 if (((res == 0) && log_if_success) || ((res != 0) && log_if_failure)) {
Note:
See TracChangeset
for help on using the changeset viewer.