Module Name:    src
Committed By:   msaitoh
Date:           Sat Nov  6 06:40:33 UTC 2021

Modified Files:
        src/bin/ksh: shf.c
        src/usr.sbin/sysinst: partman.c

Log Message:
s/writting/writing/


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/bin/ksh/shf.c
cvs rdiff -u -r1.53 -r1.54 src/usr.sbin/sysinst/partman.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/bin/ksh/shf.c
diff -u src/bin/ksh/shf.c:1.14 src/bin/ksh/shf.c:1.15
--- src/bin/ksh/shf.c:1.14	Thu Sep 16 19:44:01 2021
+++ src/bin/ksh/shf.c	Sat Nov  6 06:40:33 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: shf.c,v 1.14 2021/09/16 19:44:01 christos Exp $	*/
+/*	$NetBSD: shf.c,v 1.15 2021/11/06 06:40:33 msaitoh Exp $	*/
 
 /*
  *  Shell file I/O routines
@@ -6,7 +6,7 @@
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: shf.c,v 1.14 2021/09/16 19:44:01 christos Exp $");
+__RCSID("$NetBSD: shf.c,v 1.15 2021/11/06 06:40:33 msaitoh Exp $");
 #endif
 
 #include <sys/stat.h>
@@ -709,7 +709,7 @@ shf_write(buf, nbytes, shf)
 	if (nbytes < 0)
 		internal_errorf(1, "shf_write: nbytes %d", nbytes);
 
-	/* Don't buffer if buffer is empty and we're writting a large amount. */
+	/* Don't buffer if buffer is empty and we're writing a large amount. */
 	if ((ncopy = shf->wnleft)
 	    && (shf->wp != shf->buf || nbytes < shf->wnleft))
 	{

Index: src/usr.sbin/sysinst/partman.c
diff -u src/usr.sbin/sysinst/partman.c:1.53 src/usr.sbin/sysinst/partman.c:1.54
--- src/usr.sbin/sysinst/partman.c:1.53	Tue Sep 14 21:45:20 2021
+++ src/usr.sbin/sysinst/partman.c	Sat Nov  6 06:40:33 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: partman.c,v 1.53 2021/09/14 21:45:20 rillig Exp $ */
+/*	$NetBSD: partman.c,v 1.54 2021/11/06 06:40:33 msaitoh Exp $ */
 
 /*
  * Copyright 2012 Eugene Lozovoy
@@ -2725,7 +2725,7 @@ pm_savebootsector(void)
 				if (run_program(RUN_DISPLAY | RUN_PROGRESS,
 					"raidctl -v -A root %s", pm_i->diskdev) != 0) {
 					if (logfp)
-						fprintf(logfp, "Error writting RAID bootsector to %s\n",
+						fprintf(logfp, "Error writing RAID bootsector to %s\n",
 							pm_i->diskdev);
 					continue;
 				}
@@ -2735,7 +2735,7 @@ pm_savebootsector(void)
 					"gpt biosboot -i %d %s",
 					pm_i->rootpart + 1, pm_i->diskdev) != 0) {
 			 		if (logfp)
-						fprintf(logfp, "Error writting GPT bootsector to %s\n",
+						fprintf(logfp, "Error writing GPT bootsector to %s\n",
 							pm_i->diskdev);
 					continue;
 				}
@@ -2747,7 +2747,7 @@ pm_savebootsector(void)
 #endif
 				    md_post_newfs() != 0) {
 		 			if (logfp)
-						fprintf(logfp, "Error writting bootsector to %s\n",
+						fprintf(logfp, "Error writing bootsector to %s\n",
 							pm_i->diskdev);
 					continue;
 				}

Reply via email to