[source] fritz_tffs_read: fix parsing of size argument

LEDE Commits lede-commits at lists.infradead.org
Wed May 10 15:53:24 PDT 2017


jow pushed a commit to source.git, branch master:
https://git.lede-project.org/6f01abf5dedfda6245b7903b699e1040a79fffdb

commit 6f01abf5dedfda6245b7903b699e1040a79fffdb
Author: Valentin Spreckels <Valentin.Spreckels at Informatik.Uni-Oldenburg.DE>
AuthorDate: Tue May 9 00:41:42 2017 +0200

    fritz_tffs_read: fix parsing of size argument
    
    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;
 



More information about the lede-commits mailing list