From owner-freebsd-bugs@FreeBSD.ORG Fri Jun 20 15:30:05 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB3431065675 for ; Fri, 20 Jun 2008 15:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 920098FC1E for ; Fri, 20 Jun 2008 15:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5KFU5j7078870 for ; Fri, 20 Jun 2008 15:30:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5KFU53B078867; Fri, 20 Jun 2008 15:30:05 GMT (envelope-from gnats) Resent-Date: Fri, 20 Jun 2008 15:30:05 GMT Resent-Message-Id: <200806201530.m5KFU53B078867@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hywel Mallett Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8303F106566C for ; Fri, 20 Jun 2008 15:28:40 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 7AE908FC1E for ; Fri, 20 Jun 2008 15:28:40 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m5KFSdLY001465 for ; Fri, 20 Jun 2008 15:28:39 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m5KFSdr2001464; Fri, 20 Jun 2008 15:28:39 GMT (envelope-from nobody) Message-Id: <200806201528.m5KFSdr2001464@www.freebsd.org> Date: Fri, 20 Jun 2008 15:28:39 GMT From: Hywel Mallett To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/124788: Typos in error messages in ggated.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2008 15:30:05 -0000 >Number: 124788 >Category: kern >Synopsis: Typos in error messages in ggated.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 20 15:30:05 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Hywel Mallett >Release: 7-RELENG >Organization: >Environment: FreeBSD one.option13.co.uk 7.0-STABLE FreeBSD 7.0-STABLE #0: Sun May 4 19:43:28 BST 2008 hywel@one.option13.co.uk:/usr/obj/usr/src/sys/GENERIC amd64 >Description: There are a few tiny typos in some error messages and sysctl descriptions in gjournal. >How-To-Repeat: >Fix: Patch for /src/sys/geom/journal/g_journal.c attached Patch attached with submission follows: --- /usr/src/sys/geom/journal/g_journal.c 2007-06-05 01:00:52.000000000 +0100 +++ g_journal.c 2008-06-20 16:25:07.000000000 +0100 @@ -101,13 +101,13 @@ &g_journal_force_switch, 0, "Force switch when journal is N% full"); SYSCTL_UINT(_kern_geom_journal, OID_AUTO, parallel_flushes, CTLFLAG_RW, &g_journal_parallel_flushes, 0, - "Number of flush I/O requests send in parallel"); + "Number of flush I/O requests to send in parallel"); SYSCTL_UINT(_kern_geom_journal, OID_AUTO, accept_immediately, CTLFLAG_RW, &g_journal_accept_immediately, 0, - "Number of I/O requests accepted immediatelly"); + "Number of I/O requests accepted immediately"); SYSCTL_UINT(_kern_geom_journal, OID_AUTO, parallel_copies, CTLFLAG_RW, &g_journal_parallel_copies, 0, - "Number of copy I/O requests send in parallel"); + "Number of copy I/O requests to send in parallel"); static int g_journal_record_entries_sysctl(SYSCTL_HANDLER_ARGS) { @@ -1202,7 +1202,7 @@ sc->sc_copy_in_progress--; if (bp->bio_error != 0) { - GJ_LOGREQ(0, bp, "[copy] Error while writting data (error=%d)", + GJ_LOGREQ(0, bp, "[copy] Error while writing data (error=%d)", bp->bio_error); } GJQ_REMOVE(sc->sc_copy_queue, bp); @@ -1354,7 +1354,7 @@ sc->sc_flush_in_progress--; if (bp->bio_error != 0) { - GJ_LOGREQ(0, bp, "[flush] Error while writting data (error=%d)", + GJ_LOGREQ(0, bp, "[flush] Error while writing data (error=%d)", bp->bio_error); } gj_free(bp->bio_data, bp->bio_length); >Release-Note: >Audit-Trail: >Unformatted: