From patchwork Fri Jun 28 15:18:47 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 2799771 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id BA9029F245 for ; Fri, 28 Jun 2013 15:18:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 27A9B201FC for ; Fri, 28 Jun 2013 15:18:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 83E4B20201 for ; Fri, 28 Jun 2013 15:18:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755316Ab3F1PSx (ORCPT ); Fri, 28 Jun 2013 11:18:53 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:58040 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751511Ab3F1PSw (ORCPT ); Fri, 28 Jun 2013 11:18:52 -0400 Received: by mail-wi0-f177.google.com with SMTP id ey16so950951wid.4 for ; Fri, 28 Jun 2013 08:18:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding:x-gm-message-state; bh=qQ3edvtOydADFI9ayTcI4GSdmEU2eGWRolSUtf0czZs=; b=nWe7WPo+8Qhxn1NPsqQJpacxoXN9mGH0Dwsg/AVpAocEHIPctxrfU7CIqN9We0DbkB vNpTFLj8KGG5r9XaT7YQzuTsb3vok/PeeUcZayewhL/gpLLvYgfnB/mKVcEwjzkuznQK s/tQWqaFt/v/dEbekZIiPxOaaVfawuq8ovKgeVObn49Ve/oHdfHbMVmbE0ohQFUR0OzY 4wlDriV9cMT60sS1hr9itC/gLbKS1NgheeQUl3vPUnSwwWhHQmh3CxGb7pighAcBb3bE ka2SH7wuipe/bEGInfTpiJ3N0zPH5WC87y5w+MgXnqWTr5G61payqE/NMOZw4SFuUBpy 2zmQ== X-Received: by 10.180.198.175 with SMTP id jd15mr2750696wic.28.1372432731190; Fri, 28 Jun 2013 08:18:51 -0700 (PDT) Received: from [192.168.1.102] (c-71-234-225-85.hsd1.ct.comcast.net. [71.234.225.85]) by mx.google.com with ESMTPSA id o14sm24618473wiv.3.2013.06.28.08.18.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 28 Jun 2013 08:18:50 -0700 (PDT) Message-ID: <51CDA957.70207@dev.mellanox.co.il> Date: Fri, 28 Jun 2013 11:18:47 -0400 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: "Hefty, Sean" CC: "linux-rdma (linux-rdma@vger.kernel.org)" Subject: [PATCH ibacm] acm.c: Fix addr_data_file handling X-Gm-Message-State: ALoCoQloiri0I+zfiC+pXk8APfEfvr5xnUZocwJy+pTiEIy1/pk+MshtcgsarNo347LL7V1xIFry Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Hal Rosenstock --- -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/src/acm.c b/src/acm.c index f55ebc0..ae326e5 100644 --- a/src/acm.c +++ b/src/acm.c @@ -3466,7 +3466,7 @@ static void acm_set_options(void) else if (!stricmp("addr_preload", opt)) addr_preload = acm_convert_addr_preload(value); else if (!stricmp("addr_data_file", opt)) - strcpy(addr_data_file, opt); + strcpy(addr_data_file, value); } fclose(f);