kern/124788: Typos in error messages in ggated.c
Hywel Mallett
Hywel at hmallett.co.uk
Fri Jun 20 15:30:05 UTC 2008
>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 at 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:
More information about the freebsd-bugs
mailing list