Explorar o código

HPCC-16998 HIDL generated warning message needs new line char

- Warning message now contains terminating \n which prevents uninteded logic changes

Signed-off-by: Rodrigo Pastrana <rodrigo.pastrana@lexisnexis.com>
Rodrigo Pastrana %!s(int64=8) %!d(string=hai) anos
pai
achega
8e53338949
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tools/hidl/hidlcomp.cpp

+ 1 - 1
tools/hidl/hidlcomp.cpp

@@ -5442,7 +5442,7 @@ void writeAccessMap(const char * rawServiceAccessList, const char * methodname,
                 {
                     if (strieq(currAccessName, "NONE") || strieq(currAccessName, "DEFERRED"))
                     {
-                        outf("\n//WARNING: Developer has suppressed automatic feature level authorization, ensure this behavior is correct!");
+                        outf("\n//WARNING: Developer has suppressed automatic feature level authorization, ensure this behavior is correct!\n");
                         continue;
                     }
                     else