From 1235782155e514fd38ac0d93805a492b1f8a431b Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Wed, 25 Oct 2006 08:27:27 +0000 Subject: [PATCH] Fix typos in some messages: writting -> writing --- sys/net/tap/if_tap.c | 4 ++-- usr.bin/colldef/parse.y | 12 ++++++------ usr.bin/gzip/gzip.c | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/sys/net/tap/if_tap.c b/sys/net/tap/if_tap.c index e97043a1c8..927b18b2ce 100644 --- a/sys/net/tap/if_tap.c +++ b/sys/net/tap/if_tap.c @@ -32,7 +32,7 @@ /* * $FreeBSD: src/sys/net/if_tap.c,v 1.3.2.3 2002/04/14 21:41:48 luigi Exp $ - * $DragonFly: src/sys/net/tap/if_tap.c,v 1.29 2006/09/10 03:26:40 dillon Exp $ + * $DragonFly: src/sys/net/tap/if_tap.c,v 1.30 2006/10/25 10:27:27 swildner Exp $ * $Id: if_tap.c,v 0.21 2000/07/23 21:46:02 max Exp $ */ @@ -670,7 +670,7 @@ tapwrite(struct dev_write_args *ap) struct mbuf *top = NULL, **mp = NULL, *m = NULL; int error = 0, tlen, mlen; - TAPDEBUG(ifp, "writting, minor = %#x\n", minor(tp->tap_dev)); + TAPDEBUG(ifp, "writing, minor = %#x\n", minor(tp->tap_dev)); if (uio->uio_resid == 0) return (0); diff --git a/usr.bin/colldef/parse.y b/usr.bin/colldef/parse.y index 896e8feb46..4ed781ff59 100644 --- a/usr.bin/colldef/parse.y +++ b/usr.bin/colldef/parse.y @@ -26,7 +26,7 @@ * SUCH DAMAGE. * * $FreeBSD: src/usr.bin/colldef/parse.y,v 1.15.2.5 2002/10/11 10:43:45 ache Exp $ - * $DragonFly: src/usr.bin/colldef/parse.y,v 1.4 2005/03/02 08:16:23 joerg Exp $ + * $DragonFly: src/usr.bin/colldef/parse.y,v 1.5 2006/10/25 10:27:27 swildner Exp $ */ #include @@ -133,28 +133,28 @@ order : ORDER order_list { strcpy(__collate_version, COLLATE_VERSION1_1); if (fwrite(__collate_version, sizeof(__collate_version), 1, fp) != 1) err(EX_IOERR, - "IO error writting collate version to destination file %s", + "IO error writing collate version to destination file %s", out_file); u32 = htonl(chain_index); if (fwrite(&u32, sizeof(u32), 1, fp) != 1) err(EX_IOERR, - "IO error writting chains number to destination file %s", + "IO error writing chains number to destination file %s", out_file); if (fwrite(__collate_substitute_table, sizeof(__collate_substitute_table), 1, fp) != 1) err(EX_IOERR, - "IO error writting substitute table to destination file %s", + "IO error writing substitute table to destination file %s", out_file); if (fwrite(__collate_char_pri_table, sizeof(__collate_char_pri_table), 1, fp) != 1) err(EX_IOERR, - "IO error writting char table to destination file %s", + "IO error writing char table to destination file %s", out_file); if (fwrite(__collate_chain_pri_table, sizeof(*__collate_chain_pri_table), chain_index, fp) != (size_t)chain_index) err(EX_IOERR, - "IO error writting chain table to destination file %s", + "IO error writing chain table to destination file %s", out_file); if (fclose(fp) != 0) err(EX_IOERR, "IO error closing destination file %s", diff --git a/usr.bin/gzip/gzip.c b/usr.bin/gzip/gzip.c index 0abc5108da..cff822b7d7 100644 --- a/usr.bin/gzip/gzip.c +++ b/usr.bin/gzip/gzip.c @@ -1,5 +1,5 @@ /* $NetBSD: gzip.c,v 1.67 2004/09/11 11:07:44 dsl Exp $ */ -/* $DragonFly: src/usr.bin/gzip/gzip.c,v 1.5 2005/01/31 20:28:57 y0netan1 Exp $ */ +/* $DragonFly: src/usr.bin/gzip/gzip.c,v 1.6 2006/10/25 10:27:27 swildner Exp $ */ /* * Copyright (c) 1997, 1998, 2003, 2004 Matthew R. Green @@ -1058,7 +1058,7 @@ check_outfile(const char *outfile, struct stat *sb) "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); -- 2.11.4.GIT