Module Name: src
Committed By: andvar
Date: Sun Jun 2 19:20:09 UTC 2024
Modified Files:
src/sys/arch/sh3/sh3: disksubr.c
Log Message:
s/corruptted/corrupted/ in return messages.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/sh3/sh3/disksubr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/sh3/sh3/disksubr.c
diff -u src/sys/arch/sh3/sh3/disksubr.c:1.31 src/sys/arch/sh3/sh3/disksubr.c:1.32
--- src/sys/arch/sh3/sh3/disksubr.c:1.31 Sat Feb 10 18:43:52 2024
+++ src/sys/arch/sh3/sh3/disksubr.c Sun Jun 2 19:20:09 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: disksubr.c,v 1.31 2024/02/10 18:43:52 andvar Exp $ */
+/* $NetBSD: disksubr.c,v 1.32 2024/06/02 19:20:09 andvar Exp $ */
/*
* Copyright (c) 1982, 1986, 1988 Regents of the University of California.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.31 2024/02/10 18:43:52 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.32 2024/06/02 19:20:09 andvar Exp $");
#include "opt_mbr.h"
@@ -436,7 +436,7 @@ readdisklabel(dev_t dev, void (*strat)(s
/* disklabel is written in host's endian */
if (dlp->d_npartitions > MAXPARTITIONS ||
dkcksum(dlp) != 0)
- msg = "disk label corruptted";
+ msg = "disk label corrupted";
else {
*lp = *dlp;
msg = NULL;
@@ -449,7 +449,7 @@ readdisklabel(dev_t dev, void (*strat)(s
/* disklabel is written in reversed endian */
if (bswap16(dlp->d_npartitions) > MAXPARTITIONS ||
dkcksum_re(dlp) != 0)
- msg = "disk label corruptted";
+ msg = "disk label corrupted";
else {
swap_endian_disklabel(lp, dlp);
/* recalculate cksum in host's endian */
@@ -466,7 +466,7 @@ readdisklabel(dev_t dev, void (*strat)(s
le32toh(dlp->d_magic2) == DISKMAGIC) {
if (le16toh(dlp->d_npartitions) > MAXPARTITIONS ||
dkcksum_mmeye(dlp) != 0)
- msg = "disk label corruptted";
+ msg = "disk label corrupted";
else {
/* disklabel is written in old mmeye's way */
swap_mmeye_disklabel(lp, dlp);