Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Staging:C
lsscsi
lsscsi-usb.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lsscsi-usb.diff of Package lsscsi
From 67f68676f8d8f8b668ae7097ab93a98d62087cd1 Mon Sep 17 00:00:00 2001 From: Hannes Reinecke <hare@suse.de> Date: Wed, 22 Jan 2014 15:10:34 +0100 Subject: Reformat USB transport id USB transport IDs are separated by a colon and a space; everything else is just using a colon. Signed-off-by: Hannes Reinecke <hare@suse.de> --- src/lsscsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lsscsi.c b/src/lsscsi.c index 870949e..233aa12 100644 --- a/src/lsscsi.c +++ b/src/lsscsi.c @@ -1457,7 +1457,7 @@ transport_init(const char * devname, /* const struct lsscsi_opt_coll * op, */ cp = get_usb_devname(devname, NULL, wd, sizeof(wd) - 1); if (cp) { transport_id = TRANSPORT_USB; - snprintf(b, b_len, "usb: %s", cp); + snprintf(b, b_len, "usb:%s", cp); return 1; } @@ -1891,7 +1891,7 @@ transport_tport(const char * devname, cp = get_usb_devname(NULL, devname, wd, sizeof(wd) - 1); if (cp) { transport_id = TRANSPORT_USB; - snprintf(b, b_len, "usb: %s", cp); + snprintf(b, b_len, "usb:%s", cp); return 1; } -- 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