Fixed typo in log message.

This commit is contained in:
Christopher Glass 2014-09-12 14:12:47 +02:00
parent ef010cc484
commit 1ac58d3ce0
1 changed files with 2 additions and 2 deletions

View File

@ -355,9 +355,9 @@ def osdize_dev(dev, osd_format, osd_journal, reformat_osd=False,
subprocess.check_call(cmd)
except subprocess.CalledProcessError as e:
if ignore_errors:
log('Enable to initialize device: {}'.format(dev), WARNING)
log('Unable to initialize device: {}'.format(dev), WARNING)
else:
log('Enable to initialize device: {}'.format(dev), ERROR)
log('Unable to initialize device: {}'.format(dev), ERROR)
raise e