Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Jun 2026 06:02:39 +0000
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: ab478de1f9b3 - main - pw: fix incorrect metalog path in mkdir_home_parents
Message-ID:  <6a22667f.253b4.56db0647@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/src/commit/?id=ab478de1f9b3f73036ee05004fb2d503a0f339bc

commit ab478de1f9b3f73036ee05004fb2d503a0f339bc
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2026-06-04 22:19:54 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2026-06-05 06:01:56 +0000

    pw: fix incorrect metalog path in mkdir_home_parents
---
 usr.sbin/pw/pw_user.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/pw/pw_user.c b/usr.sbin/pw/pw_user.c
index dcf870ca1edc..abb8a09ce468 100644
--- a/usr.sbin/pw/pw_user.c
+++ b/usr.sbin/pw/pw_user.c
@@ -123,7 +123,7 @@ mkdir_home_parents(int dfd, const char *dir)
 					    dirs);
 				if (fchownat(dfd, dirs, 0, 0, 0) != 0)
 					warn("chown(%s)", dirs);
-				metalog_emit(dir,
+				metalog_emit(dirs,
 				    (_DEF_DIRMODE | S_IFDIR) & ~pumask, 0, 0,
 				    0);
 			}


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a22667f.253b4.56db0647>