Skip to content

Commit

Permalink
Add new line in sai_meta_log_syncd fprintf call (sonic-net#648)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonytitus authored Aug 2, 2020
1 parent c810e5f commit bb14f86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syncd/MetadataLogger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ static void sai_meta_log_syncd(
break;
case SAI_LOG_LEVEL_ERROR:
priority = swss::Logger::SWSS_ERROR;
fprintf(stderr, "ERROR: %s: %s", func, buffer);
fprintf(stderr, "ERROR: %s: %s\n", func, buffer);
break;
case SAI_LOG_LEVEL_WARN:
priority = swss::Logger::SWSS_WARN;
fprintf(stderr, "WARN: %s: %s", func, buffer);
fprintf(stderr, "WARN: %s: %s\n", func, buffer);
break;
case SAI_LOG_LEVEL_CRITICAL:
priority = swss::Logger::SWSS_CRIT;
Expand Down

0 comments on commit bb14f86

Please sign in to comment.