Add missing %s in print message

This is to add some missing %s in print message.

Change-Id: I7ac9b9ee8874d946f2e70cc9d5ad4cdc214e2e18
This commit is contained in:
lisali 2016-08-16 15:37:35 +08:00
parent 5b2030e2b2
commit 9daa20e78e
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ class CryptsetupEncryptor(base.VolumeEncryptor):
# normal disk or multipath device), exit_code will be 1. In the
# case, we will omit the warning message.
if e.exit_code != 1:
LOG.warning(_LW('cryptsetup status %(dev_name) exited '
LOG.warning(_LW('cryptsetup status %(dev_name)s exited '
'abnormally (status %(exit_code)s): %(err)s'),
{"dev_name": dev_name, "exit_code": e.exit_code,
"err": e.stderr})