summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b445bae)
raw | patch | inline | side by side (parent: b445bae)
author | Jonas Fonseca <fonseca@diku.dk> | |
Tue, 3 Feb 2009 13:47:04 +0000 (14:47 +0100) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Tue, 3 Feb 2009 14:27:24 +0000 (15:27 +0100) |
tig.c | patch | blob | history |
index 657fe10f8920daced8c35f716a7a4e1142fce79c..fa03109e7fa2836835d309c9268d408cfa364bf4 100644 (file)
--- a/tig.c
+++ b/tig.c
}
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;
}
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