aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/diff.c b/coreutils/diff.c
index df43c98ad..0eaf0b1d1 100644
--- a/coreutils/diff.c
+++ b/coreutils/diff.c
@@ -1175,7 +1175,7 @@ int diff_main(int argc, char **argv)
L_arg = L_arg->link;
}
if (option_mask32 & FLAG_U)
- context = xatou_range(U_opt, 1, INT_MAX);
+ context = xatoi_u(U_opt);
/*
* Do sanity checks, fill in stb1 and stb2 and call the appropriate