From 0eace5428a63cb7e41bb7eed4224856d9d24ec17 Mon Sep 17 00:00:00 2001 From: Maps Date: Thu, 11 May 2017 15:12:22 +0200 Subject: [PATCH] PK: accept --filesize up to 20GB --- hadaq/args.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hadaq/args.c b/hadaq/args.c index 9fe15b9..4ee0333 100644 --- a/hadaq/args.c +++ b/hadaq/args.c @@ -319,9 +319,9 @@ int Args_check(TheArgs *my) */ /* check my->maxFileSz */ - if ((strcmp(my->outDev, "null") != 0) && (my->maxFileSz <= 0 || my->maxFileSz >= 2 * 1024 * 1024 * 1024UL)) { + if ((strcmp(my->outDev, "null") != 0) && (my->maxFileSz <= 0 || my->maxFileSz >= 20 * 1024 * 1024 * 1024UL)) { storeLogInfo(my, " argsCheck: --filesize must be >0MB and <2000MB."); - fprintf(stderr, " evtbuild.c, argsCheck: --filesize must be >0MB and <2000MB\n"); + fprintf(stderr, " evtbuild.c, argsCheck: --filesize must be >0MB and <20000MB\n"); return 1; } -- 2.43.0