:Add missing %s in print message

This is to add some missing %s in print message

Change-Id: Ifd4e59265bd976b817191a41e7854613f71539dd
(cherry picked from commit 987decc56c)
This commit is contained in:
zhufl 2016-07-25 14:24:15 +08:00 committed by Ian Y. Choi
parent 9825c80904
commit 4495563978

View File

@ -82,7 +82,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})