sys/geom: spelling fixes.

These affect debugging messages.

MFC after:	2 weeks
This commit is contained in:
Pedro F. Giffuni 2016-04-28 19:26:46 +00:00
parent 8d07a66d77
commit 310aef3257
3 changed files with 5 additions and 5 deletions

View File

@ -224,7 +224,7 @@ struct g_journal_entry {
#define GJ_VALIDATE_OFFSET(offset, sc) do { \
if ((offset) + GJ_RECORD_MAX_SIZE(sc) >= (sc)->sc_jend) { \
(offset) = (sc)->sc_jstart; \
GJ_DEBUG(2, "Starting from the begining (%s).", \
GJ_DEBUG(2, "Starting from the beginning (%s).", \
(sc)->sc_name); \
} \
} while (0)

View File

@ -117,7 +117,7 @@ g_raid_ctl_label(struct gctl_req *req, struct g_class *mp)
}
format = gctl_get_asciiparam(req, "arg0");
if (format == NULL) {
gctl_error(req, "No format recieved.");
gctl_error(req, "No format received.");
return;
}
crstatus = g_raid_create_node_format(format, req, &geom);
@ -164,7 +164,7 @@ g_raid_ctl_stop(struct gctl_req *req, struct g_class *mp)
}
nodename = gctl_get_asciiparam(req, "arg0");
if (nodename == NULL) {
gctl_error(req, "No array name recieved.");
gctl_error(req, "No array name received.");
return;
}
sc = g_raid_find_node(mp, nodename);
@ -204,7 +204,7 @@ g_raid_ctl_other(struct gctl_req *req, struct g_class *mp)
}
nodename = gctl_get_asciiparam(req, "arg0");
if (nodename == NULL) {
gctl_error(req, "No array name recieved.");
gctl_error(req, "No array name received.");
return;
}
sc = g_raid_find_node(mp, nodename);

View File

@ -257,7 +257,7 @@ g_raid_md_ddf_print(struct ddf_meta *meta)
printf("BBM Log %u:%u\n", GET32(meta, hdr->bbmlog_section), GET32(meta, hdr->bbmlog_length));
printf("Diagnostic Space %u:%u\n", GET32(meta, hdr->Diagnostic_Space), GET32(meta, hdr->Diagnostic_Space_Length));
printf("Vendor_Specific_Logs %u:%u\n", GET32(meta, hdr->Vendor_Specific_Logs), GET32(meta, hdr->Vendor_Specific_Logs_Length));
printf("**** Controler Data ****\n");
printf("**** Controller Data ****\n");
printf("Controller_GUID ");
print_guid(meta->cdr->Controller_GUID);
printf("\n");