diff options
author | pjd <pjd@FreeBSD.org> | 2010-09-14 11:19:21 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2010-09-14 11:19:21 +0000 |
commit | 66201bc1097bff360679b57454fa36f7c9d6f33f (patch) | |
tree | e6f52c9a5d25d55dab38d2620039c7bfae827e7a | |
parent | 1896db90b9dc7534f80f6ec2a8b4f41d6564f4b8 (diff) | |
download | FreeBSD-src-66201bc1097bff360679b57454fa36f7c9d6f33f.zip FreeBSD-src-66201bc1097bff360679b57454fa36f7c9d6f33f.tar.gz |
Remove dot which shouldn't be here, as err(3) will attach error message
at the end of the string.
-rw-r--r-- | sbin/geom/core/geom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/geom/core/geom.c b/sbin/geom/core/geom.c index d83a232..1be9b0c 100644 --- a/sbin/geom/core/geom.c +++ b/sbin/geom/core/geom.c @@ -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) { |