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) {