From: Valentin Spreckels Date: Mon, 8 May 2017 22:41:42 +0000 (+0200) Subject: fritz_tffs_read: fix parsing of size argument X-Git-Tag: v18.06.0-rc1~2983 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f01abf5dedfda6245b7903b699e1040a79fffdb;p=thirdparty%2Fopenwrt.git fritz_tffs_read: fix parsing of size argument The parameter specification missed that -s takes an argument. Signed-off-by: Valentin Spreckels --- diff --git a/package/utils/fritz-tools/src/fritz_tffs_read.c b/package/utils/fritz-tools/src/fritz_tffs_read.c index f367e02e047..7c311a90caa 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;