fix error message... errx since errno may not be set (if we didn't
parse the full field), and err and errx add their own newline at the end... Sponsored by: Netflix, Inc.
This commit is contained in:
parent
ce808c7ad8
commit
8239de9b1b
@ -487,7 +487,7 @@ ReadSet(const char *n, int column, const char *delim)
|
||||
|
||||
d = strtod(t, &p);
|
||||
if (p != NULL && *p != '\0')
|
||||
err(2, "Invalid data on line %d in %s\n", line, n);
|
||||
errx(2, "Invalid data on line %d in %s", line, n);
|
||||
if (*buf != '\0')
|
||||
AddPoint(s, d);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user