migration: Fix cache_init()'s "Failed to allocate" error messages
commit7bfc47936e9e083ea7743fccb8e235b063ae6590
authorMarkus Armbruster <armbru@redhat.com>
Tue, 2 Feb 2021 14:17:33 +0000 (2 15:17 +0100)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Mon, 8 Feb 2021 11:19:51 +0000 (8 11:19 +0000)
treebbc7f12e1f0a6825ec478a5dcd0127e9722e7d26
parent8b9407a09f925ff9e4dcf6783add8df68f5c7eb6
migration: Fix cache_init()'s "Failed to allocate" error messages

cache_init() attempts to handle allocation failure.  The two error
messages are garbage, as untested error messages commonly are:

    Parameter 'cache size' expects Failed to allocate cache
    Parameter 'cache size' expects Failed to allocate page cache

Fix them to just

    Failed to allocate cache
    Failed to allocate page cache

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20210202141734.2488076-4-armbru@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
migration/page_cache.c