diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2022-11-25 08:05:40 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2023-01-25 08:51:35 +0000 |
commit | 1054b8fdc3396700523d81cc745c0b8acd44c76c (patch) | |
tree | 36e8cb878b25396b92bccbb041410b1f21c3cff6 /libexec | |
parent | c69a31795b0ec00525d37ef0f0a9828a56ecf991 (diff) | |
download | src-1054b8fdc3396700523d81cc745c0b8acd44c76c.tar.gz src-1054b8fdc3396700523d81cc745c0b8acd44c76c.zip |
flua: chown(2) binding, fix bad copy/paste
(cherry picked from commit 280f11f1be54370fcc289ee259a1b86637170ea1)
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/flua/modules/lposix.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |