Changeset 3628 in MondoRescue for branches/3.3/mondo/src/common/libmondo-cli.c


Ignore:
Timestamp:
Dec 21, 2016, 3:18:07 PM (7 years ago)
Author:
Bruno Cornec
Message:

Change mr_msg_init interface definition to include argc and argv, which allows to detect the presence of the -K option and setup the log level accordingly as early as possible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mondo/src/common/libmondo-cli.c

    r3610 r3628  
    976976                    if (optarg[0] != '/' && optarg[len - 1] == '/') {
    977977                        optarg[--len] = '\0';
    978                         log_to_screen
    979                             ("Warning - param '%s' should not have trailing slash!",
    980                              optarg);
     978                        log_to_screen("Warning - param '%s' should not have trailing slash!", optarg);
    981979                    }
    982980                    if (opt == 'd') {
Note: See TracChangeset for help on using the changeset viewer.