X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fverbose.c;h=7e46a333a4b3d2d992d1eede9c4f5d408723c2fe;hb=e96fa2cd6b81784ad6fb6ba1794ac6e034486b97;hp=ad5d265a25a38d1791f2ec96d58236524f4d3476;hpb=e2de563d1ecb4585ce68521bd42f3ef45ac79f16;p=src%2Fapp-framework-main.git diff --git a/src/verbose.c b/src/verbose.c index ad5d265..7e46a33 100644 --- a/src/verbose.c +++ b/src/verbose.c @@ -1,6 +1,8 @@ /* Copyright 2015 IoT.bzh + author: José Bollo + Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at @@ -21,7 +23,7 @@ int verbosity = 1; #else void verbose_error(const char *file, int line) { - ERROR("error file %s line %d", file, line); + syslog(LOG_ERR, "error file %s line %d", file, line); } #endif