Changeset 1265 in MondoRescue


Ignore:
Timestamp:
Mar 24, 2007, 10:04:37 AM (17 years ago)
Author:
Bruno Cornec
Message:

Compiler errors again

Location:
branches/stable/mondo/src/mondorestore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/mondorestore/mondo-rstr-tools.c

    r1251 r1265  
    282282{
    283283    char *mount_isodir_command = NULL;
    284     char *tmp = NULL;
    285284    char *command = NULL;
    286285    int retval = 0, i = 0;
     
    462461                mr_msg(1,
    463462                        "That's OK. I called mount w/o a filesystem type and it worked fine in the end.");
    464             } else {
    465                 log_to_screen(tmp);
    466463            }
    467464        }
     
    12891286
    12901287    char *device = NULL;
     1288#ifdef __FreeBSD__
    12911289    char *tmp = NULL;
     1290#endif
    12921291    char *name = NULL;
    12931292
  • branches/stable/mondo/src/mondorestore/mondorestore.c

    r1264 r1265  
    2020#include "mr_str.h"
    2121#include "mr_err.h"
     22#include "mr_conf.h"
    2223
    2324#include "mondostructures.h"
     
    139140        return;
    140141    }
    141     mr_free(&mr_cnf->media_device);
    142     mr_free(&mr_cnf->prefix);
    143     mr_free(&mr_cnf->boot_loader);
    144     mr_free(&mr_cnf->compression_tool);
    145     mr_free(&mr_cnf->ui_mode);
    146     mr_free(&mr_cnf->images_dir);
     142    mr_free(mr_cnf->media_device);
     143    mr_free(mr_cnf->prefix);
     144    mr_free(mr_cnf->boot_loader);
     145    mr_free(mr_cnf->compression_tool);
     146    mr_free(mr_cnf->ui_mode);
     147    mr_free(mr_cnf->images_dir);
    147148}
    148149
     
    157158    mr_rs_clean_conf(&mr_conf);
    158159    */
     160    mr_rs_clean_conf(NULL);
    159161    /* We have to remove all temporary files */
    160162    /* We have to unmount what has been mounted */
     
    27292731 * Log a "don't panic" message to the logfile.
    27302732 */
    2731 void welcome_to_mondorestore()
     2733void welcome_to_mondorestore(void)
    27322734{
    27332735    mr_msg(0, "-------------- Mondo Restore v%s -------------", PACKAGE_VERSION);
     
    27672769 * What did you think it did, anyway? :-)
    27682770 */
    2769 int main(int argc, char *argv[])
     2771void main(int argc, char *argv[])
    27702772{
    27712773    FILE *fin = NULL;
Note: See TracChangeset for help on using the changeset viewer.