:Add missing %s in print message

This is to add some missing %s in print message

Change-Id: Ifd4e59265bd976b817191a41e7854613f71539dd
This commit is contained in:
zhufl 2016-07-25 14:24:15 +08:00
parent 3bcea8de58
commit 8ce8de1af9

View File

@ -83,7 +83,7 @@ class CryptsetupEncryptor(base.VolumeEncryptor):
# normal disk or multipath device), exit_code will be 1. In the # normal disk or multipath device), exit_code will be 1. In the
# case, we will omit the warning message. # case, we will omit the warning message.
if e.exit_code != 1: 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'), 'abnormally (status %(exit_code)s): %(err)s'),
{"dev_name": dev_name, "exit_code": e.exit_code, {"dev_name": dev_name, "exit_code": e.exit_code,
"err": e.stderr}) "err": e.stderr})