aboutsummaryrefslogtreecommitdiff
path: root/coreutils/uniq.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--coreutils/uniq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/uniq.c b/coreutils/uniq.c
index 091862118..126eaeef9 100644
--- a/coreutils/uniq.c
+++ b/coreutils/uniq.c
@@ -45,7 +45,7 @@ int uniq_main(int argc UNUSED_PARAM, char **argv)
45 }; 45 };
46 46
47 skip_fields = skip_chars = 0; 47 skip_fields = skip_chars = 0;
48 max_chars = -1; 48 max_chars = INT_MAX;
49 49
50 opt_complementary = "f+:s+:w+"; 50 opt_complementary = "f+:s+:w+";
51 opt = getopt32(argv, "cduf:s:w:", &skip_fields, &skip_chars, &max_chars); 51 opt = getopt32(argv, "cduf:s:w:", &skip_fields, &skip_chars, &max_chars);