[LEDE-DEV] [PATCH] fritz_tffs_read: fix parsing of size argument

Valentin Spreckels Valentin.Spreckels at Informatik.Uni-Oldenburg.DE
Mon May 8 15:41:42 PDT 2017


The parameter specification missed that -s takes an argument.

Signed-off-by: Valentin Spreckels <Valentin.Spreckels at Informatik.Uni-Oldenburg.DE>
---
 package/utils/fritz-tools/src/fritz_tffs_read.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/utils/fritz-tools/src/fritz_tffs_read.c b/package/utils/fritz-tools/src/fritz_tffs_read.c
index f367e02..7c311a9 100644
--- a/package/utils/fritz-tools/src/fritz_tffs_read.c
+++ b/package/utils/fritz-tools/src/fritz_tffs_read.c
@@ -259,7 +259,7 @@ static void parse_options(int argc, char *argv[])
 	{
 		int c;
 
-		c = getopt(argc, argv, "abhi:ln:s");
+		c = getopt(argc, argv, "abhi:ln:s:");
 		if (c == -1)
 			break;
 
-- 
2.10.2




More information about the Lede-dev mailing list