Changeset 1645 in MondoRescue for branches/2.2.5/mondo/src/common/libmondo-tools.c
- Timestamp:
- Sep 24, 2007, 3:04:43 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mondo/src/common/libmondo-tools.c
r1644 r1645 196 196 extern int g_current_media_number; 197 197 extern char *MONDO_LOGFILE; 198 199 /* Reference to global bkpinfo */ 200 extern struct s_bkpinfo *bkpinfo; 198 201 199 202 /** … … 566 569 * do not exist. 567 570 */ 568 int post_param_configuration( struct s_bkpinfo *bkpinfo)571 int post_param_configuration() 569 572 { 570 573 char *extra_cdrom_params; … … 878 881 } 879 882 } 880 store_nfs_config( bkpinfo);883 store_nfs_config(); 881 884 } 882 885 … … 924 927 * @return number of errors (0 for success) 925 928 */ 926 int pre_param_configuration( struct s_bkpinfo *bkpinfo)929 int pre_param_configuration() 927 930 { 928 931 int res = 0; … … 932 935 srandom((unsigned long) (time(NULL))); 933 936 insmod_crucial_modules(); 934 reset_bkpinfo( bkpinfo); // also sets defaults ('/'=backup path, 3=compression level)937 reset_bkpinfo(); // also sets defaults ('/'=backup path, 3=compression level) 935 938 if (bkpinfo->disaster_recovery) { 936 939 if (!does_nonMS_partition_exist()) { … … 964 967 * @param bkpinfo The @c bkpinfo to reset. 965 968 */ 966 void reset_bkpinfo( struct s_bkpinfo *bkpinfo)969 void reset_bkpinfo() 967 970 { 968 971 int i;
Note:
See TracChangeset
for help on using the changeset viewer.