Remove dot which shouldn't be here, as err(3) will attach error message

at the end of the string.
This commit is contained in:
Pawel Jakub Dawidek 2010-09-14 11:19:21 +00:00
parent 7648b1e9c0
commit f104beb787
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=212607

View File

@ -262,7 +262,7 @@ set_option(struct gctl_req *req, struct g_option *opt, const char *val)
if (G_OPT_TYPE(opt) == G_TYPE_NUMBER ||
G_OPT_TYPE(opt) == G_TYPE_ASCNUM) {
if (expand_number(val, &number) == -1) {
err(EXIT_FAILURE, "Invalid value for '%c' argument.",
err(EXIT_FAILURE, "Invalid value for '%c' argument",
opt->go_char);
}
if (G_OPT_TYPE(opt) == G_TYPE_NUMBER) {