diff options
Diffstat (limited to 'src/paste.c')
-rw-r--r-- | src/paste.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/paste.c b/src/paste.c index 4d6edf2f8..725269b1f 100644 --- a/src/paste.c +++ b/src/paste.c @@ -447,8 +447,7 @@ main (int argc, char **argv) strcpy (delims, "\t"); strcpy (zero_delims, "\\0"); - while ((optc = getopt_long (argc, argv, "d:s", longopts, (int *) 0)) - != EOF) + while ((optc = getopt_long (argc, argv, "d:s", longopts, NULL)) != -1) { switch (optc) { |