When logging to stderr, put a \n by default

This commit is contained in:
Lucas De Marchi 2011-11-25 01:07:04 -02:00
parent ae6df84a3c
commit 9df4bda566

View File

@ -71,6 +71,7 @@ static void log_stderr(struct kmod_ctx *ctx,
{
fprintf(stderr, "libkmod: %s: ", fn);
vfprintf(stderr, format, args);
fprintf(stderr, "\n");
}
const char *kmod_get_dirname(struct kmod_ctx *ctx)