Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2008 15:28:39 GMT
From:      Hywel Mallett <Hywel@hmallett.co.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/124788: Typos in error messages in ggated.c
Message-ID:  <200806201528.m5KFSdr2001464@www.freebsd.org>
Resent-Message-ID: <200806201530.m5KFU53B078867@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806201528.m5KFSdr2001464>