Fix illegal set operation in FreeBSD section of user module.
Merge pull request #4560 from tronner/issue4461

Fix illegal set operation in FreeBSD section of user module.