# cvs diff -Nup editor.c
Index: editor.c
===================================================================
RCS file: /cvs/src/sbin/disklabel/editor.c,v
retrieving revision 1.224
diff -N -u -p editor.c
--- editor.c    12 Nov 2009 16:21:03 -0000      1.224
+++ editor.c    23 Dec 2009 00:33:28 -0000
@@ -715,7 +715,7 @@ editor_add(struct disklabel *lp, char *p)

        /*
         * Increase d_npartitions if necessary. Ensure all new
         partitions are
-        * zero'ed to avoid inadvertant overlaps.
+        * zero'ed to avoid inadvertent overlaps.
         */
        for(; lp->d_npartitions <= partno; lp->d_npartitions++)
                memset(&lp->d_partitions[lp->d_npartitions], 0,
                sizeof(*pp));
@@ -1659,7 +1659,7 @@ editor_help(char *arg)
        case 'D':
                puts(
 "The 'D' command will set the disk label to the default values as
 reported\n"
-"by the disk itself.  This similates the case where there is no disk
label.\n");
+"by the disk itself.  This simulates the case where there is no disk
label.\n");
                break;
        case 'd':
                puts(

Reply via email to