From: Michael Insel Date: Wed, 30 Jan 2019 18:41:24 +0000 (+0100) Subject: Fix check_swap formatting X-Git-Tag: v2.10.3~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab947d7c3bb2da59d88896695497851c17535e8d;p=icinga2 Fix check_swap formatting This fixes a small formatting mistake introduced by #6811. To keep the check_swap output in sync with all other plugins I fixed the formatting. --- diff --git a/plugins/check_swap.cpp b/plugins/check_swap.cpp index 906a1017d..302f20b46 100644 --- a/plugins/check_swap.cpp +++ b/plugins/check_swap.cpp @@ -200,7 +200,7 @@ static int printOutput(printInfoStruct& printInfo) if (printInfo.crit.rend(currentValue, printInfo.tSwap)) state = CRITICAL; - std::wcout << stateToString(state) << " "; + std::wcout << stateToString(state) << " - "; if (!printInfo.showUsed) std::wcout << printInfo.percentFree << L"% free ";