Ignore:
Timestamp:
Sep 30, 2007, 8:16:06 PM (17 years ago)
Author:
Bruno Cornec
Message:

use conf file for kernel_path

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/mondoarchive/mondo-cli.c

    r1663 r1669  
    593593    }
    594594    if (flag_set['k']) {
    595         strncpy(bkpinfo->kernel_path, flag_val['k'], MAX_STR_LEN);
     595        mr_allocstr(bkpinfo->kernel_path, flag_val['k']);
    596596        if (!strcmp(bkpinfo->kernel_path, "failsafe")) {
    597             strcpy(bkpinfo->kernel_path, "FAILSAFE");
     597            mr_allocstr(bkpinfo->kernel_path, "FAILSAFE");
    598598        }
    599599        if (strcmp(bkpinfo->kernel_path, "FAILSAFE")
Note: See TracChangeset for help on using the changeset viewer.