[commits] [batctl] master: batctl: Fix deprecation warning for option '-m' (dd82cf5)

postmaster at open-mesh.org postmaster at open-mesh.org
Tue Aug 13 20:22:36 CEST 2019


Repository : ssh://git@open-mesh.org/batctl

On branch  : master

>---------------------------------------------------------------

commit dd82cf53cf81144e8375657ddcfc86882481e6df
Author: Sven Eckelmann <sven at narfation.org>
Date:   Tue Aug 13 20:22:06 2019 +0200

    batctl: Fix deprecation warning for option '-m'
    
    Signed-off-by: Sven Eckelmann <sven at narfation.org>


>---------------------------------------------------------------

dd82cf53cf81144e8375657ddcfc86882481e6df
 main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.c b/main.c
index 99a5f5c..9e0a943 100644
--- a/main.c
+++ b/main.c
@@ -343,7 +343,7 @@ int main(int argc, char **argv)
 					"Error - multiple mesh interfaces specified\n");
 				goto err;
 			}
-			fprintf(stderr, "Warning - option -m was deprecated in will be removed in the future\n");
+			fprintf(stderr, "Warning - option -m was deprecated and will be removed in the future\n");
 
 			state.arg_iface = argv[2];
 			break;



More information about the commits mailing list