]> granicus.if.org Git - icinga2/commitdiff
Fix check_swap formatting 6925/head
authorMichael Insel <michael@insel.email>
Wed, 30 Jan 2019 18:41:24 +0000 (19:41 +0100)
committerMichael Insel <michael@insel.email>
Wed, 30 Jan 2019 18:41:24 +0000 (19:41 +0100)
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.

plugins/check_swap.cpp

index 906a1017dd7631c70228440f3b40df92159c9629..302f20b46a7c029b672e696e4474c3249ad04885 100644 (file)
@@ -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 ";