/*
- * Copyright (C) 2005-2008 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-2009 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
tm = localtime(&t1);
strftime(str, MAXLINE, "%b %d %H:%M:%S", tm);
fprintf(outfd, "%s %s ", str, hostname);
- if (conf.loglevel_arg <= INFO)
+ if (conf.loglevel_arg <= LL_INFO)
fprintf(outfd, "%i ", ll);
va_start(argp, fmt);
vfprintf(outfd, fmt, argp);
valid_fd_012();
audiod_cmdline_parser_ext(argc, argv, &conf, ¶ms);
HANDLE_VERSION_FLAG("audiod", conf);
- para_drop_privileges(conf.user_arg, conf.group_arg);
+ drop_privileges_or_die(conf.user_arg, conf.group_arg);
parse_config_or_die();
if (conf.logfile_given)
logfile = open_log(conf.logfile_arg);