* used by some glibc (on some distributions it takes over 100MB).
* Daemon currently needs to use mlockall().
*/
- setenv("LANG", "C", 1);
+ if (setenv("LANG", "C", 1) != 0)
+ perror("Can not set LANG to C");
/* Fork into the background (unless requested not to) */
if (debug != DEBUG_STDERR) {
* used by some glibc (on some distributions it takes over 100MB).
* Daemon currently needs to use mlockall().
*/
- setenv("LANG", "C", 1);
+ if (setenv("LANG", "C", 1) != 0)
+ perror("Can not set LANG to C");
if (!_debug)
_daemonize();