diff options
author | Chris Leech <christopher.leech@intel.com> | 2010-04-09 14:23:10 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-04-11 14:02:41 -0500 |
commit | ce8b5df04292e93a117d9f863af206245bf61271 (patch) | |
tree | fb10dd4b931756765b3352402d83033a326b9c30 /lib | |
parent | 63ac4bbffb40f2cb3bc7e8b11bac47598813ea13 (diff) |
[SCSI] libfc: set both precision and field with when printing FC IDs
Most of the prints of fabric IDs were specified as %6x, which will not
print any leading 0s. It's nice to see leading 0s for identifiers
like this, which are a fixed length. This patch sets the precision
modifier as well, making the specifier %6.6x, which forces the
printing of leading 0s.
Signed-off-by: Chris Leech <christopher.leech@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions