Changeset 1161 in MondoRescue for trunk/mondo/src/common/libmondo-fifo.c
- Timestamp:
- Feb 14, 2007, 1:13:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/src/common/libmondo-fifo.c
r1086 r1161 28 28 #include "libmondo.h" 29 29 #include "mr_mem.h" 30 #include "mr_msg.h" 30 31 31 32 /** … … 155 156 void kill_buffer() 156 157 { 157 char *tmp ;158 char *command ;158 char *tmp = NULL; 159 char *command = NULL; 159 160 160 161 sync(); … … 175 176 mr_asprintf(&command, "kill %s", tmp); 176 177 mr_msg(2, "kill_buffer() --- command = %s", command); 177 178 178 if (strlen(tmp) > 0) { 179 179 run_program_and_log_output(command, TRUE);
Note:
See TracChangeset
for help on using the changeset viewer.