aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/patch/util.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2013-09-26 18:00:45 +0000
committerXin LI <delphij@FreeBSD.org>2013-09-26 18:00:45 +0000
commite11cd3bc59ee77f33a2d253d462dac6b3891e6e4 (patch)
tree2f3c57613b76e480dbb18bf5e09f8dc6436e7653 /usr.bin/patch/util.c
parente4dedeefaeac580b57cbb9349a4ca803f653e64a (diff)
downloadsrc-e11cd3bc59ee77f33a2d253d462dac6b3891e6e4.tar.gz
src-e11cd3bc59ee77f33a2d253d462dac6b3891e6e4.zip
Improve bsdpatch usability:
- Ask only once for "Apply anyway". [1] - Tell user what file have failed patch rather than just how many hunks failed. Reported by: jmg via pfg [1] Tested by: pfg [1] Approved by: re (gjb)
Notes
Notes: svn path=/head/; revision=255894
Diffstat (limited to 'usr.bin/patch/util.c')
-rw-r--r--usr.bin/patch/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/patch/util.c b/usr.bin/patch/util.c
index c19918b04e9d..698067630208 100644
--- a/usr.bin/patch/util.c
+++ b/usr.bin/patch/util.c
@@ -412,7 +412,7 @@ checked_in(char *file)
void
version(void)
{
- fprintf(stderr, "patch 2.0-12u9 FreeBSD\n");
+ fprintf(stderr, "patch 2.0-12u10 FreeBSD\n");
my_exit(EXIT_SUCCESS);
}