[Pkg-iscsi-maintainers] [SCM] Debian Open-iSCSI Packaging branch, upstream-mnc, updated. 2.0-872-101-g2616afb

Mike Christie michaelc at cs.wisc.edu
Mon May 2 18:56:34 UTC 2011

The following commit has been merged in the upstream-mnc branch:
commit 11614316e8148924fb218f90828c3015fc1a6260
Author: Ales Kozumplik <akozumpl at redhat.com>
Date:   Tue Feb 8 10:05:19 2011 +0100

    fwparam_sysfs: fix pathname manipulation error in fwparam_sysfs_boot_info.
    A slash was missing in the pathname producing nonexistent filenames
    starting with "/sys/firmwareiscsi_boot5" instead of
    "/sys/firmware/iscsi_boot5". Also see fwparam_sysfs_get_targets().

diff --git a/utils/fwparam_ibft/fwparam_sysfs.c b/utils/fwparam_ibft/fwparam_sysfs.c
index b5568c5..3997363 100644
--- a/utils/fwparam_ibft/fwparam_sysfs.c
+++ b/utils/fwparam_ibft/fwparam_sysfs.c
@@ -365,7 +365,7 @@ int fwparam_sysfs_boot_info(struct boot_context *context)
 		if (strncmp(dent->d_name, ISCSI_LLD_SUBSYS_PREFIX, 10))
-		snprintf(lld_root, FILENAMESZ, ISCSI_LLD_ROOT"%s",
+		snprintf(lld_root, FILENAMESZ, ISCSI_LLD_ROOT"%s/",
 		if (!get_boot_info(context, lld_root, dent->d_name))
 			goto done;

Debian Open-iSCSI Packaging

More information about the Pkg-iscsi-maintainers mailing list