Changeset 3062 in MondoRescue
- Timestamp:
- Nov 11, 2012, 3:58:24 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/mondo/src/common/libmondo-devices.c
r3060 r3062 2177 2177 char *mds = NULL; 2178 2178 char *q = NULL; 2179 char p[ 8*MAX_STR_LEN];2179 char p[16*MAX_STR_LEN]; 2180 2180 char *sz_size; 2181 2181 char *command; … … 2759 2759 2760 2760 if (bkpinfo->exclude_paths != NULL ) { 2761 strncpy(p,bkpinfo->exclude_paths,( 8*MAX_STR_LEN)-1);2761 strncpy(p,bkpinfo->exclude_paths,(16*MAX_STR_LEN)-1); 2762 2762 } else { 2763 2763 p[0] = '\0'; 2764 2764 } 2765 popup_and_get_string("Exclude paths", "Please enter paths which you do NOT want to backup. Separate them with '|'. NB: /tmp and /proc are always excluded. :-) Just hit 'Enter' if you want to do a full system backup.", p, ( 8*MAX_STR_LEN)-1);2765 popup_and_get_string("Exclude paths", "Please enter paths which you do NOT want to backup. Separate them with '|'. NB: /tmp and /proc are always excluded. :-) Just hit 'Enter' if you want to do a full system backup.", p, (16*MAX_STR_LEN)-1); 2766 2766 if (p == NULL) { 2767 2767 log_to_screen("User has chosen not to backup the PC");
Note:
See TracChangeset
for help on using the changeset viewer.