[ofa-general] [PATCH] iblinkinfo.pl: Remove annoying double quote around switch name.

Ira Weiny weiny2 at llnl.gov
Tue Aug 14 18:06:14 PDT 2007


>From fc0251b5150afdd5d40d55facdf85c645939b482 Mon Sep 17 00:00:00 2001
From: Ira K. Weiny <weiny2 at llnl.gov>
Date: Tue, 14 Aug 2007 18:04:43 -0700
Subject: [PATCH] iblinkinfo.pl: Remove annoying double quote around switch name.


Signed-off-by: Ira K. Weiny <weiny2 at llnl.gov>
---
 infiniband-diags/scripts/iblinkinfo.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/infiniband-diags/scripts/iblinkinfo.pl b/infiniband-diags/scripts/iblinkinfo.pl
index 2413842..73ac585 100755
--- a/infiniband-diags/scripts/iblinkinfo.pl
+++ b/infiniband-diags/scripts/iblinkinfo.pl
@@ -108,7 +108,7 @@ sub main
          if ($switch_prompt eq "no" && !$line_mode)
          {
             push (@output_lines,
-                sprintf ("Switch %18s \"%s\"%s:\n", $switch, $hr->{loc_desc}, $pkt_life_prompt));
+                sprintf ("Switch %18s %s%s:\n", $switch, $hr->{loc_desc}, $pkt_life_prompt));
             $switch_prompt = "yes";
          }
          my $data = `smpquery -G portinfo $switch $port`;
-- 
1.5.2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-iblinkinfo.pl-Remove-annoying-double-quote-around-s.patch
Type: application/octet-stream
Size: 1034 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20070814/af33379c/attachment.obj>


More information about the general mailing list