On Wednesday 05 December 2012 01:16:16 Moritz Warning wrote:
batctl outputs many errors to stdout instead of stderr. This patch corrects this behavior by redirecting errors and the usage texts to stderr.
Signed-off-by: Moritz Warning <moritzwarning at web.de>
Your mail address looks wrong.
if (strcmp(argv[1], "-h") == 0)
goto err;
if (strcmp(argv[1], "-h") == 0) {
print_usage();
exit(EXIT_SUCCESS);
}
This seems to be unrelated. Please remove it from the patch.
Kind regards, Sven