diff --git a/src/lua/pwd.lua b/src/lua/pwd.lua
index d59594b46e673d6e7f24511925a32a047af19288..31cfbd8bfa2cb674ba727ec4a96abd89de4fae91 100644
--- a/src/lua/pwd.lua
+++ b/src/lua/pwd.lua
@@ -86,7 +86,7 @@ ffi.cdef[[
 
 -- {{{ Error handling
 
-local pwgr_errstr = "get%s failed [errno %d]: %s"
+local pwgr_errstr = "%s failed [errno %d]: %s"
 
 -- Use it in the following way: set errno to zero, call a passwd /
 -- group function, then call this function to check whether there