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 lindner_marek@yahoo.de --- 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"); }