Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:GA
lsscsi
lsscsi-fixup-fc-transport-id.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lsscsi-fixup-fc-transport-id.patch of Package lsscsi
From 0e20b012ec265b88ad74e05e03cc5e7bf1edf873 Mon Sep 17 00:00:00 2001 From: Hannes Reinecke <hare@suse.de> Date: Wed, 22 Jan 2014 15:29:08 +0100 Subject: FC transport ID is missing a comma The FC transport ID is displayed without a comma: [7] bfa fc:0x100000051e8cd5120x000000 [8] bfa fc:0x100000051e8cd5130x680801 Signed-off-by: Hannes Reinecke <hare@suse.de> --- src/lsscsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lsscsi.c b/src/lsscsi.c index 233aa12..950bc70 100644 --- a/src/lsscsi.c +++ b/src/lsscsi.c @@ -1363,7 +1363,7 @@ transport_init(const char * devname, /* const struct lsscsi_opt_coll * op, */ off = strlen(b); if (get_value(buff, "port_name", b + off, b_len - off)) { off = strlen(b); - my_strcopy(b + off, ",", sizeof(b) - off); + my_strcopy(b + off, ",", b_len - off); off = strlen(b); } else return 0; -- 1.7.12.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor