diff --git a/agent/HwParse.cc b/agent/HwParse.cc index 628bc08..8f8abb3 100644 --- a/agent/HwParse.cc +++ b/agent/HwParse.cc @@ -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)); diff --git a/package/yast2-hardware-detection.changes b/package/yast2-hardware-detection.changes index 14e3240..d6dd3a0 100644 --- a/package/yast2-hardware-detection.changes +++ b/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 diff --git a/package/yast2-hardware-detection.spec b/package/yast2-hardware-detection.spec index 2a1771f..91ba6aa 100644 --- a/package/yast2-hardware-detection.spec +++ b/package/yast2-hardware-detection.spec @@ -17,7 +17,7 @@ Name: yast2-hardware-detection -Version: 3.1.3 +Version: 3.1.4 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build