From f104beb787506157869c5ee4cb479ad27ab093e1 Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Tue, 14 Sep 2010 11:19:21 +0000 Subject: [PATCH] Remove dot which shouldn't be here, as err(3) will attach error message at the end of the string. --- sbin/geom/core/geom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/geom/core/geom.c b/sbin/geom/core/geom.c index d83a232e6785..1be9b0c37a3e 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) {