Subject: bin/35526: [PATCH] Typo in src/usr.bin/gzip/gzip.c
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <delphij@FreeBSD.org>
List: netbsd-bugs
Date: 01/31/2007 07:20:01
>Number:         35526
>Category:       bin
>Synopsis:       [PATCH] Typo in src/usr.bin/gzip/gzip.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 31 07:20:00 +0000 2007
>Originator:     Xin LI
>Release:        -CURRENT
>Organization:
The FreeBSD Project
>Environment:
N/A
>Description:
overwritting should be "overwriting".
>How-To-Repeat:

>Fix:
Index: gzip.c
===================================================================
RCS file: /home/netbsd/src/usr.bin/gzip/gzip.c,v
retrieving revision 1.89
diff -p -u -r1.89 gzip.c
--- gzip.c	13 Nov 2006 21:57:59 -0000	1.89
+++ gzip.c	31 Jan 2007 07:15:44 -0000
@@ -1093,7 +1093,7 @@ check_outfile(const char *outfile)
 					"overwrite (y or n)? " , outfile);
 			(void)fgets(ans, sizeof(ans) - 1, stdin);
 			if (ans[0] != 'y' && ans[0] != 'Y') {
-				fprintf(stderr, "\tnot overwritting\n");
+				fprintf(stderr, "\tnot overwriting\n");
 				ok = 0;
 			} else
 				unlink(outfile);