summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenis Vlasenko2007-03-07 22:45:42 +0000
committerDenis Vlasenko2007-03-07 22:45:42 +0000
commit0085f231b2136e3ae2e9f2689dd88c5f7f765cae (patch)
tree5ff71a205d32a92507a26f72d1c920e1d9ca93d3 /coreutils
parent80281fefc032c3317d5709489aadb733f6fb0e30 (diff)
downloadbusybox-0085f231b2136e3ae2e9f2689dd88c5f7f765cae.zip
busybox-0085f231b2136e3ae2e9f2689dd88c5f7f765cae.tar.gz
diff: make -U0 work
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 df43c98..0eaf0b1 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