From patchwork Wed Feb 20 19:02:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 2168781 X-Patchwork-Delegate: hal@mellanox.com Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id C1AC63FD4E for ; Wed, 20 Feb 2013 19:02:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934579Ab3BTTC1 (ORCPT ); Wed, 20 Feb 2013 14:02:27 -0500 Received: from mail-ie0-f174.google.com ([209.85.223.174]:49816 "EHLO mail-ie0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933973Ab3BTTC0 (ORCPT ); Wed, 20 Feb 2013 14:02:26 -0500 Received: by mail-ie0-f174.google.com with SMTP id k10so10367974iea.33 for ; Wed, 20 Feb 2013 11:02:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:content-type:content-transfer-encoding:x-gm-message-state; bh=+PteHe72nLem1WTprjs4iog+1sQUsydUF8uFu4aRUok=; b=ha0KQZOAsRB+DGw3oiyKX4/KyUUMa/pW/jCPRAN6TixD7v46Tx0wboxcazLPpw52se cU5fllvq7d8tkjOA/Mc3ww6f+gkWdr1taAE7+HvMMQ4iuvwYaQ7NPcKSq/sacpZrHrW/ t8XAjvCYrfyZZyTRwOFbx2v+DM17gr+mrU9l743AAcMlNsHQM9xpLNr51SeA6HfqjKHy ykNAhIo23vssakL5jRaID/RXAHioFcNoAPwJ2aOmFxoe5NDKnNNI/s1mkoQ2pg68yHOQ CES9rnuFkCLJGAdldVWeVcS/lBB9Yi5liNiiXEnc2Gb2iLGDWpf9rg8mxgpzTsU6NRW/ dcrQ== X-Received: by 10.50.236.42 with SMTP id ur10mr10949271igc.16.1361386946315; Wed, 20 Feb 2013 11:02:26 -0800 (PST) Received: from [192.168.1.102] (c-71-234-225-85.hsd1.ct.comcast.net. [71.234.225.85]) by mx.google.com with ESMTPS id xe9sm294103igb.7.2013.02.20.11.02.24 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 20 Feb 2013 11:02:25 -0800 (PST) Message-ID: <51251DBF.4090704@dev.mellanox.co.il> Date: Wed, 20 Feb 2013 14:02:23 -0500 From: Hal Rosenstock User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: "linux-rdma (linux-rdma@vger.kernel.org)" CC: Ilya Nelkenbaum Subject: [PATCH] osm_dump.c: Fix typo in dump_lid_matrix X-Gm-Message-State: ALoCoQl/RAKyR1/r99hN23dOjOv6lWkDTHbBSI43K7DtVa5/wY1051CpxbNN8G/lKHPc4Y33M9s0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Signed-off-by: Ilya Nelkenbaum --- opensm/osm_dump.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/opensm/osm_dump.c b/opensm/osm_dump.c index cfdb8ef..b9bd6ed 100644 --- a/opensm/osm_dump.c +++ b/opensm/osm_dump.c @@ -320,7 +320,7 @@ static void dump_lid_matrix(cl_map_item_t * item, FILE * file, void *cxt) osm_switch_get_hop_count(p_sw, lid, port)); p_port = osm_get_port_by_lid_ho(&p_osm->subn, lid); if (p_port) - fprintf(file, " # portguid 0x016%" PRIx64, + fprintf(file, " # portguid 0x%016" PRIx64, cl_ntoh64(osm_port_get_guid(p_port))); fprintf(file, "\n"); }