Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Nov 2022 08:06:08 GMT
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: 280f11f1be54 - main - flua: chown(2) binding, fix bad copy/paste
Message-ID:  <202211250806.2AP8682q059600@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bapt:

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

commit 280f11f1be54370fcc289ee259a1b86637170ea1
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2022-11-25 08:05:40 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2022-11-25 08:05:40 +0000

    flua: chown(2) binding, fix bad copy/paste
---
 libexec/flua/modules/lposix.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libexec/flua/modules/lposix.c b/libexec/flua/modules/lposix.c
index 88687be2788c..22df27ff2971 100644
--- a/libexec/flua/modules/lposix.c
+++ b/libexec/flua/modules/lposix.c
@@ -102,7 +102,7 @@ lua_chown(lua_State *L)
 			group = g->gr_gid;
 		else
 			return (luaL_argerror(L, 3,
-			    lua_pushfstring(L, "unknown user %s",
+			    lua_pushfstring(L, "unknown group %s",
 			    lua_tostring(L, 3))));
 	} else if (!lua_isnoneornil(L, 3)) {
 		const char *type = luaL_typename(L, 3);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211250806.2AP8682q059600>