2 /* Change the default console loglevel */
7 #include <linux/unistd.h>
8 #include <sys/syscall.h>
10 int main(int argc, char **argv) {
13 if (!argv[1]) exit(0);
15 if ( (level<1) || (level>8) ) {
16 fprintf(stderr,"invalid log level %d\n",level);
19 if (!syscall(SYS_syslog,8,NULL,level)) {