Ticket #1121: start_real_string.patch

File start_real_string.patch, 838 bytes (added by christianschwamborn, 7 years ago)

start_real.c patch

  • navit/start_real.c

    old new  
    184184        for (;;) {
    185185                if (li == NULL) {
    186186                        // We have not found an existing config file from all possibilities
    187                         dbg(0,_("No config file navit.xml, navit.xml.local found\n"));
     187                        dbg(0,"%s", _("No config file navit.xml, navit.xml.local found\n"));
    188188                        return 4;
    189189                }
    190190        // Try the next config file possibility from the list
     
    209209        }
    210210        g_list_free(list);
    211211        if (! config_get_attr(config, attr_navit, &navit, NULL) && !config_empty_ok) {
    212                 dbg(0, _("Internal initialization failed, exiting. Check previous error messages.\n"));
     212                dbg(0, "%s", _("Internal initialization failed, exiting. Check previous error messages.\n"));
    213213                exit(5);
    214214        }
    215215        conf.type=attr_config;