summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ac077f0)
raw | patch | inline | side by side (parent: ac077f0)
author | fanyeren <fanyeren@gmail.com> | |
Thu, 26 Nov 2015 13:50:24 +0000 (21:50 +0800) | ||
committer | fanyeren <fanyeren@gmail.com> | |
Thu, 26 Nov 2015 13:50:24 +0000 (21:50 +0800) |
src/table.c | patch | blob | history |
diff --git a/src/table.c b/src/table.c
index b0bc95f80bb90c5f999c525d17aa9d94bbc1d8b7..4e34a9ec718ed9e90683981c93eb8a5bbc2c1588 100644 (file)
--- a/src/table.c
+++ b/src/table.c
}
if (i <= tbl->max_colnum) {
- log_err ("Not enough columns in line "
+ log_warn ("Not enough columns in line "
"(expected at least %zu, got %zu).",
tbl->max_colnum + 1, i);
return -1;
while (NULL != fgets (buf, sizeof (buf), fh)) {
if ('\0' != buf[sizeof (buf) - 1]) {
buf[sizeof (buf) - 1] = '\0';
- log_err ("Table %s: Truncated line: %s", tbl->file, buf);
+ log_warn ("Table %s: Truncated line: %s", tbl->file, buf);
}
if (0 != tbl_parse_line (tbl, buf, sizeof (buf))) {
- log_err ("Table %s: Failed to parse line: %s", tbl->file, buf);
+ log_warn ("Table %s: Failed to parse line: %s", tbl->file, buf);
continue;
}
}