Fix ignored arguments in FreeBSD, Solaris user modules

Fixes #5131.