From 5cdf476b33d3c1c7388538c65b03fa839855e91f Mon Sep 17 00:00:00 2001 From: Alexander Vdolainen Date: Fri, 4 Mar 2016 00:26:07 +0200 Subject: [PATCH] [examples] Fix: -p option processing; --- examples/streamfld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/streamfld.c b/examples/streamfld.c index 6fe9406..d55eb04 100644 --- a/examples/streamfld.c +++ b/examples/streamfld.c @@ -281,7 +281,7 @@ int main(int argc, char **argv) { NULL, 0, NULL, 0 }, }; - if((opt = getopt_long(argc, argv, "hvr:m:", long_options, + if((opt = getopt_long(argc, argv, "hvr:m:p:", long_options, &option_index)) == -1) break; switch(opt) {