diff options
Diffstat (limited to 'src/fold.c')
-rw-r--r-- | src/fold.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fold.c b/src/fold.c index b86810285..8d634990f 100644 --- a/src/fold.c +++ b/src/fold.c @@ -276,8 +276,7 @@ main (int argc, char **argv) } } - while ((optc = getopt_long (argc, argv, "bsw:", longopts, (int *) 0)) - != EOF) + while ((optc = getopt_long (argc, argv, "bsw:", longopts, NULL)) != -1) { switch (optc) { |