From patchwork Fri Jun 28 15:18:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 2799761 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1A76DBF4A1 for ; Fri, 28 Jun 2013 15:18:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D4F12201FD for ; Fri, 28 Jun 2013 15:18:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CB4F1201F6 for ; Fri, 28 Jun 2013 15:18:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754949Ab3F1PSu (ORCPT ); Fri, 28 Jun 2013 11:18:50 -0400 Received: from mail-wg0-f42.google.com ([74.125.82.42]:61357 "EHLO mail-wg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754725Ab3F1PSt (ORCPT ); Fri, 28 Jun 2013 11:18:49 -0400 Received: by mail-wg0-f42.google.com with SMTP id z11so1633694wgg.3 for ; Fri, 28 Jun 2013 08:18:48 -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=YoJyYFzIx5JBrDTIuaducOK71RrhAnpl0o7EpHXfCn0=; b=lizcW+9FgFMaP6cVwsrVFPtxVvARy1rgp2QEnlSgg0tYnLPuhP9O/5SQOKkMQiEA8G KKvwtcHc+j7kFU63nFGWf+Qpqq9uOgQe23Zu3nK20fEaZPjeGzlWiDL4cjmKIK5/rSAQ LsrfxnSw7ZoOMgURZ9v1vltyyvm1fpP/NM5aAV8FTRvllNpZAAsVm641tHzaCKC95aDm OKPOP+Z+EnIftZr6BNimTv6vRyuxqG4lReOqoRQOoFoEGhGk1dIqTOXhUNGSFQzHhEYt GOjisCusLQQfoAfkBD6OAtXYdmWPzyWYlEx5E2RmueLlYf8KpUHY7bLNmVCSdPqK4mYV NY4A== X-Received: by 10.194.2.79 with SMTP id 15mr10312552wjs.42.1372432728203; Fri, 28 Jun 2013 08:18:48 -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 h8sm10854906wie.1.2013.06.28.08.18.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 28 Jun 2013 08:18:46 -0700 (PDT) Message-ID: <51CDA953.5070301@dev.mellanox.co.il> Date: Fri, 28 Jun 2013 11:18:43 -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] acme.c: Fix a couple of cosmetic issues with option file generation X-Gm-Message-State: ALoCoQk6EOeYeSq3maM7cl8kgg20WG0LYtF55uWQ1l50K4/tDsbWnb6LPUin+aGvIoKLuQsan/1Z 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 Add route_data_file and addr_data_file option names before full pathname to file 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/acme.c b/src/acme.c index 1109b50..287fd32 100644 --- a/src/acme.c +++ b/src/acme.c @@ -261,7 +261,7 @@ static void gen_opts_temp(FILE *f) fprintf(f, "# the ACM cache. This option is only valid if route_preload\n"); fprintf(f, "# indicates that routing data should be read from a file.\n"); fprintf(f, "# Default is ACM_CONF_DIR/ibacm_route.data\n"); - fprintf(f, "# /etc/rdma/ibacm_route.data\n"); + fprintf(f, "# route data_file /etc/rdma/ibacm_route.data\n"); fprintf(f, "\n"); fprintf(f, "# addr_preload:\n"); fprintf(f, "# Specifies if the ACM address cache should be preloaded, or built on demand.\n"); @@ -277,7 +277,7 @@ static void gen_opts_temp(FILE *f) fprintf(f, "# the ACM cache. This option is only valid if addr_preload\n"); fprintf(f, "# indicates that address data should be read from a file.\n"); fprintf(f, "# Default is ACM_CONF_DIR/ibacm_hosts.data\n"); - fprintf(f, "# /etc/rdma/ibacm_hosts.data\n"); + fprintf(f, "# addr_data_file /etc/rdma/ibacm_hosts.data\n"); fprintf(f, "\n"); }