platform_system_core/libnl_2/dbg.c
Dmitry Shmidt 64f17e85b4 libnl_2: Fix nested attribute setting
Change-Id: I9dbf72a25e8a939ab6aa35eaf4adbf86d9ed97a1
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-08-10 15:25:51 -07:00

12 lines
238 B
C

#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);
}