projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't let make write the filename into the output
[paraslash.git]
/
audioc.c
diff --git
a/audioc.c
b/audioc.c
index
a8f88e3
..
666990d
100644
(file)
--- a/
audioc.c
+++ b/
audioc.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2005-200
8
Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-200
9
Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
@@
-21,7
+21,8
@@
INIT_AUDIOC_ERRLISTS;
/** the gengetopt structure containing command line args */
struct audioc_args_info conf;
/** the gengetopt structure containing command line args */
struct audioc_args_info conf;
-INIT_STDERR_LOGGING(conf.loglevel_arg);
+static int loglevel;
+INIT_STDERR_LOGGING(loglevel);
static char *concat_args(unsigned argc, char * const *argv)
{
static char *concat_args(unsigned argc, char * const *argv)
{
@@
-87,6
+88,7
@@
int main(int argc, char *argv[])
exit(EXIT_FAILURE);
}
}
exit(EXIT_FAILURE);
}
}
+ loglevel = get_loglevel_by_name(conf.loglevel_arg);
args = conf.inputs_num?
concat_args(conf.inputs_num, conf.inputs) :
para_strdup("stat");
args = conf.inputs_num?
concat_args(conf.inputs_num, conf.inputs) :
para_strdup("stat");