Date: Wed, 22 Apr 2026 09:31:01 +0000 Message-ID: <69e89555.3663f.603b722b@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by michaelo: URL: https://cgit.FreeBSD.org/src/commit/?id=c93e8b63d62b4d4dc4cb5386afe63d5a517b8b4b commit c93e8b63d62b4d4dc4cb5386afe63d5a517b8b4b Author: Michael Osipov <michaelo@FreeBSD.org> AuthorDate: 2026-04-14 08:38:59 +0000 Commit: Michael Osipov <michaelo@FreeBSD.org> CommitDate: 2026-04-22 09:30:27 +0000 glabel(8): Fix debug message for already existing labels Remove the duplicate (incorrect) name. PR: 294542 Reviewed by: markj MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D56400 (cherry picked from commit 92c69c791c436eb966fab806393b70e53cde6874) --- sys/geom/label/g_label.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/geom/label/g_label.c b/sys/geom/label/g_label.c index acb17d40914e..0942bedd2380 100644 --- a/sys/geom/label/g_label.c +++ b/sys/geom/label/g_label.c @@ -251,8 +251,8 @@ g_label_create(struct gctl_req *req, struct g_class *mp, struct g_provider *pp, if ((pp2->flags & G_PF_ORPHAN) != 0) continue; if (strcmp(pp2->name, name) == 0) { - G_LABEL_DEBUG(1, "Label %s(%s) already exists (%s).", - label, name, pp->name); + G_LABEL_DEBUG(1, "Label %s (%s) already exists.", + label, name); if (req != NULL) { gctl_error(req, "Provider %s already exists.", name);home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69e89555.3663f.603b722b>
