From 1c7e9c25de783b8e06827bface6c3a2d239b08b2 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 26 Dec 2018 22:35:28 +0100 Subject: [PATCH] hal-debug: replace some more libtriple shortcuts Signed-off-by: Thilo Graf Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/251fd9b6483d21d4787e25108f15fb07b4498fa7 Author: vanhofen Date: 2018-12-26 (Wed, 26 Dec 2018) Origin message was: ------------------ - hal-debug: replace some more libtriple shortcuts Signed-off-by: Thilo Graf ------------------ This commit was generated by Migit --- common/hal_debug.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/hal_debug.cpp b/common/hal_debug.cpp index a20de2e..457b8d5 100644 --- a/common/hal_debug.cpp +++ b/common/hal_debug.cpp @@ -27,7 +27,7 @@ static const char* hal_facility[] = { void _hal_info(int facility, const void *func, const char *fmt, ...) { /* %p does print "(nil)" instead of 0x00000000 for NULL */ - fprintf(stderr, "[LT:%08lx:%s] ", (long) func, hal_facility[facility]); + fprintf(stderr, "[HAL:%08lx:%s] ", (long) func, hal_facility[facility]); va_list args; va_start(args, fmt); vfprintf(stderr, fmt, args); @@ -43,7 +43,7 @@ void _hal_debug(int facility, const void *func, const char *fmt, ...) if (! ((1 << facility) & debuglevel)) return; - fprintf(stderr, "[LT:%08lx:%s] ", (long)func, hal_facility[facility]); + fprintf(stderr, "[HAL:%08lx:%s] ", (long)func, hal_facility[facility]); va_list args; va_start(args, fmt); vfprintf(stderr, fmt, args);