From: Michael Insel Date: Wed, 30 Jan 2019 18:41:24 +0000 (+0100) Subject: Fix check_swap formatting X-Git-Tag: v2.11.0-rc1~243^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ba4d495056c229bed6326364afd3a12ac7b49bf;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 ";