<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0206</schemaVersion>

    <documentType>3/A</documentType>

    <periodOfReport>2019-11-26</periodOfReport>

    <dateOfOriginalSubmission>2019-12-06</dateOfOriginalSubmission>

    <noSecuritiesOwned>0</noSecuritiesOwned>

    <issuer>
        <issuerCik>0001068963</issuerCik>
        <issuerName>WESTERN ASSET CORPORATE LOAN FUND INC.</issuerName>
        <issuerTradingSymbol>TLI</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001504304</rptOwnerCik>
            <rptOwnerName>Bulldog Investors, LLC</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>PARK 80 WEST - PLAZA TWO</rptOwnerStreet1>
            <rptOwnerStreet2>250 PEHLE AVE. SUITE 708</rptOwnerStreet2>
            <rptOwnerCity>SADDLE BROOK</rptOwnerCity>
            <rptOwnerState>NJ</rptOwnerState>
            <rptOwnerZipCode>07663</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001067621</rptOwnerCik>
            <rptOwnerName>GOLDSTEIN PHILLIP</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>60 HERITAGE DRIVE</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>PLEASANTVILLE</rptOwnerCity>
            <rptOwnerState>NY</rptOwnerState>
            <rptOwnerZipCode>10570</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001341021</rptOwnerCik>
            <rptOwnerName>Dakos Andrew</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>PARK 80 WEST</rptOwnerStreet1>
            <rptOwnerStreet2>250 PEHLE AVE. STE 708</rptOwnerStreet2>
            <rptOwnerCity>SADDLE BROOK</rptOwnerCity>
            <rptOwnerState>NJ</rptOwnerState>
            <rptOwnerZipCode>07663</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>19303</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                    <footnoteId id="F1"/>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Shares are held by Phillip Goldstein.</footnote>
        <footnote id="F2">This amendment is being filed in order to correct the amount of shares reported.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Phillip Goldstein on behalf of Bulldog Investors,LLC</signatureName>
        <signatureDate>2020-03-06</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>/s/ Phillip Goldstein</signatureName>
        <signatureDate>2020-03-06</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>/s/ Andrew Dakos</signatureName>
        <signatureDate>2020-03-06</signatureDate>
    </ownerSignature>
</ownershipDocument>
