summaryrefslogtreecommitdiffstats
path: root/libnl_2/dbg.c
blob: 9764de6e758734205d6d9dc2975da5b887ffc605 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "netlink/netlink.h"
#include <android/log.h>

void libnl_printf(int level, char *format, ...)
{
	va_list ap;

	level = ANDROID_LOG_ERROR;
	va_start(ap, format);
	__android_log_vprint(level, "libnl_2", format, ap);
	va_end(ap);
}