Fixed a reference to NULL in the syslog module.