Skip to content

Commit

Permalink
- added leading zeros for FCP LUNs (bsc#903069)
Browse files Browse the repository at this point in the history
  • Loading branch information
aschnell committed Nov 24, 2014
1 parent 0264537 commit 7c8b268
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions agent/HwParse.cc
Expand Up @@ -1259,9 +1259,9 @@ HwProbe::hd2value (hd_t *hd)
YCPMap detail;
#if defined(__s390__) || defined(__s390x__)
char buf[128];
snprintf (buf, 128, "0x%llx", info->wwpn);
snprintf (buf, 128, "0x%016llx", info->wwpn);
detail->add (YCPString ("wwpn"), YCPString (buf));
snprintf (buf, 128, "0x%llx", info->fcp_lun);
snprintf (buf, 128, "0x%016llx", info->fcp_lun);
detail->add (YCPString ("fcp_lun"), YCPString (buf));
if (info->controller_id)
detail->add (YCPString ("controller_id"), YCPString (info->controller_id));
Expand Down
6 changes: 6 additions & 0 deletions package/yast2-hardware-detection.changes
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 24 15:41:11 CET 2014 - aschnell@suse.de

- added leading zeros for FCP LUNs (bsc#903069)
- 3.1.4

-------------------------------------------------------------------
Tue May 27 09:49:05 CEST 2014 - snwint@suse.de

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-hardware-detection.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2-hardware-detection
Version: 3.1.3
Version: 3.1.4
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down

0 comments on commit 7c8b268

Please sign in to comment.