global.mode |= MODE_ZERO_WARNING;
} else {
- BUG_ON(1, "Triggered in cfg_parse_global_mode() by unsupported keyword.\n");
+ BUG_ON(1, "Triggered in cfg_parse_global_mode() by unsupported keyword.");
return -1;
}
global.tune.options &= ~GTUNE_USE_POLL;
} else {
- BUG_ON(1, "Triggered in cfg_parse_global_disable_poller() by unsupported keyword.\n");
+ BUG_ON(1, "Triggered in cfg_parse_global_disable_poller() by unsupported keyword.");
return -1;
}
}
global.pidfile = strdup(args[1]);
} else {
- BUG_ON(1, "Triggered in cfg_parse_global_pidfile() by unsupported keyword.\n");
+ BUG_ON(1, "Triggered in cfg_parse_global_pidfile() by unsupported keyword.");
return -1;
}
} else if (strcmp(args[0], "expose-experimental-directives") == 0) {
experimental_directives_allowed = 1;
} else {
- BUG_ON(1, "Triggered in cfg_parse_global_non_std_directives() by unsupported keyword.\n");
+ BUG_ON(1, "Triggered in cfg_parse_global_non_std_directives() by unsupported keyword.");
return -1;
}
}
}
else {
- BUG_ON(1, "Triggered in cfg_parse_global_tune_opts() by unsupported keyword.\n");
+ BUG_ON(1, "Triggered in cfg_parse_global_tune_opts() by unsupported keyword.");
return -1;
}
global.tune.no_zero_copy_fwd |= NO_ZERO_COPY_FWD;
}
else {
- BUG_ON(1, "Triggered in cfg_parse_global_tune_forward_opts() by unsupported keyword.\n");
+ BUG_ON(1, "Triggered in cfg_parse_global_tune_forward_opts() by unsupported keyword.");
return -1;
}
memprintf(err, "option '%s' is not supported any more (tune.bufsize is used instead).", args[0]);
}
else {
- BUG_ON(1, "Triggered in cfg_parse_global_unsupported_opts() by unsupported keyword.\n");
+ BUG_ON(1, "Triggered in cfg_parse_global_unsupported_opts() by unsupported keyword.");
}
return -1;
}
}
else {
- BUG_ON(1, "Triggered in cfg_parse_global_env_opts() by unsupported keyword.\n");
+ BUG_ON(1, "Triggered in cfg_parse_global_env_opts() by unsupported keyword.");
return -1;
}
}
} else {
- BUG_ON(1, "Triggered in cfg_parse_tune_renice() by unsupported keyword.\n");
+ BUG_ON(1, "Triggered in cfg_parse_tune_renice() by unsupported keyword.");
}
return 0;
int pid;
BUG_ON((strcmp(args[0], "_send_status") != 0),
- "Triggered in _send_status by unsupported command name.\n");
+ "Triggered in _send_status by unsupported command name.");
pid = atoi(args[2]);
struct mworker_proc *child;
BUG_ON((mworker_proxy == NULL), "Triggered in mworker_cli_attach_server(), "
- "mworker_proxy must be created before this call.\n");
+ "mworker_proxy must be created before this call.");
/* create all servers using the mworker_proc list */
list_for_each_entry(child, &proc_list, list) {