From patchwork Sat Dec 19 17:11:07 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Lindner X-Patchwork-Id: 5214 Return-Path: Received: from smtp124.mail.ukl.yahoo.com (smtp124.mail.ukl.yahoo.com [77.238.184.55]) by open-mesh.net (Postfix) with SMTP id 086301543D9 for ; Sat, 19 Dec 2009 18:02:07 +0000 (UTC) Received: (qmail 19956 invoked from network); 19 Dec 2009 17:15:58 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:From:To:Cc:Subject:Date:Message-Id:X-Mailer:In-Reply-To:References; b=j5GMsb1uqr1OLNga53029q4qHxBnS8l83ZG3cn91WFfuE9v0EHG0sIquNPUhU6le6im4t2Sx2QR02Pgew0TXo4cVjbjXP6NE5j0uslQaAF2cVLXNvc2s5XaDlTUGC8b+WgHyo70rAg1axm2RQHpjq/scwttuer/k/2p/SoH9PK4= ; Received: from p57AA1174.dip0.t-ipconnect.de (lindner_marek@87.170.17.116 with plain) by smtp124.mail.ukl.yahoo.com with SMTP; 19 Dec 2009 17:15:57 +0000 GMT X-Yahoo-SMTP: tW.h3tiswBBMXO2coYcbPigGD5Lt6zY_.Zc- X-YMail-OSG: VVPtzSoVM1lmliM_cdF58D7BY8Sz.Bw64U4ZFZwP0nsQ_XT7H9KrG6zCsyvf2kOqtyqEVmC6kkeSpRveCNPOfHT0OwlI23AvrZeb.vVrLK472j8XPofpTomWIHIxa_ntU.UW_EKmjx76DXfOSLEA9Vw.NzrONHJpXyifeEoU5XXfNp3kt4FuMW3gkECkkdzaGMjL1emAuA_aL7fYAjaCI1nLqhSlIh4QtHz6HWRsAz8C3ZAI3PTY3mI54hj9NuSwrubUbQ6lS93Xsg-- X-Yahoo-Newman-Property: ymail-3 From: Marek Lindner To: b.a.t.m.a.n@lists.open-mesh.net Date: Sun, 20 Dec 2009 01:11:07 +0800 Message-Id: <1261242667-11525-5-git-send-email-lindner_marek@yahoo.de> X-Mailer: git-send-email 1.6.5.7 In-Reply-To: <1261242667-11525-4-git-send-email-lindner_marek@yahoo.de> References: <200912200101.55746.lindner_marek@yahoo.de> <1261242667-11525-1-git-send-email-lindner_marek@yahoo.de> <1261242667-11525-2-git-send-email-lindner_marek@yahoo.de> <1261242667-11525-3-git-send-email-lindner_marek@yahoo.de> <1261242667-11525-4-git-send-email-lindner_marek@yahoo.de> Cc: Marek Lindner Subject: [B.A.T.M.A.N.] [PATCH 5/5] batctl: adjust vis data file path X-BeenThere: b.a.t.m.a.n@lists.open-mesh.net X-Mailman-Version: 2.1.11 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Dec 2009 18:02:08 -0000 The kernel module changed the vis data file path which need to be changed in batctl as well. This patch depends on the "splitting /proc vis file into vis_server and vis_data" patch. Signed-off-by: Marek Lindner --- batctl/vis.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/batctl/vis.c b/batctl/vis.c index 450310c..f1e95ee 100644 --- a/batctl/vis.c +++ b/batctl/vis.c @@ -185,7 +185,7 @@ open_vis(void) strncpy(full_path, PROC_ROOT_PATH, strlen(PROC_ROOT_PATH)); full_path[strlen(PROC_ROOT_PATH)] = '\0'; - strncat(full_path, "vis", sizeof(full_path) - strlen(full_path)); + strncat(full_path, "vis_data", sizeof(full_path) - strlen(full_path)); return fopen(full_path, "r"); }