index 657fe10f8920daced8c35f716a7a4e1142fce79c..fa03109e7fa2836835d309c9268d408cfa364bf4 100644 (file)
--- a/tig.c
+++ b/tig.c
}
if (status == ERR) {
}
if (status == ERR) {
- fprintf(stderr, "Error on line %d, near '%.*s': %s\n",
- config_lineno, (int) optlen, opt, config_msg);
+ warn("Error on line %d, near '%.*s': %s",
+ config_lineno, (int) optlen, opt, config_msg);
config_errors = TRUE;
}
config_errors = TRUE;
}
if (read_properties(&io, " \t", read_option) == ERR ||
config_errors == TRUE)
if (read_properties(&io, " \t", read_option) == ERR ||
config_errors == TRUE)
- fprintf(stderr, "Errors while loading %s.\n", path);
+ warn("Errors while loading %s.", path);
}
static int
}
static int