diff options
Diffstat (limited to 'src/csplit.c')
-rw-r--r-- | src/csplit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/csplit.c b/src/csplit.c index ddd4311c3..08546f3e7 100644 --- a/src/csplit.c +++ b/src/csplit.c @@ -1476,8 +1476,7 @@ main (int argc, char **argv) signal (SIGTERM, interrupt_handler); #endif /* not SA_INTERRUPT */ - while ((optc = getopt_long (argc, argv, "f:b:kn:sqz", longopts, (int *) 0)) - != EOF) + while ((optc = getopt_long (argc, argv, "f:b:kn:sqz", longopts, NULL)) != -1) switch (optc) { case 0: |