Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Fix typo in command output.



details:   https://anonhg.NetBSD.org/src/rev/b0391cc514bf
branches:  trunk
changeset: 750293:b0391cc514bf
user:      mbalmer <mbalmer%NetBSD.org@localhost>
date:      Wed Dec 23 09:13:21 2009 +0000

description:
Fix typo in command output.

diffstat:

 dist/pdisk/pdisk.c                     |   2 +-
 distrib/amiga/floppies/upgr/upgrade.sh |   4 ++--
 sbin/newfs_udf/newfs_udf.8             |   4 ++--
 sbin/newfs_udf/udf_create.c            |  16 ++++++++--------
 4 files changed, 13 insertions(+), 13 deletions(-)

diffs (121 lines):

diff -r 71a841355c37 -r b0391cc514bf dist/pdisk/pdisk.c
--- a/dist/pdisk/pdisk.c        Wed Dec 23 09:10:07 2009 +0000
+++ b/dist/pdisk/pdisk.c        Wed Dec 23 09:13:21 2009 +0000
@@ -165,7 +165,7 @@
     init_program_name(argv);
 
     if (sizeof(DPME) != PBLOCK_SIZE) {
-       fatal(-1, "Size of partion map entry (%d) "
+       fatal(-1, "Size of partition map entry (%d) "
                "is not equal to block size (%d)\n",
                sizeof(DPME), PBLOCK_SIZE);
     }
diff -r 71a841355c37 -r b0391cc514bf distrib/amiga/floppies/upgr/upgrade.sh
--- a/distrib/amiga/floppies/upgr/upgrade.sh    Wed Dec 23 09:10:07 2009 +0000
+++ b/distrib/amiga/floppies/upgr/upgrade.sh    Wed Dec 23 09:13:21 2009 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: upgrade.sh,v 1.8 2003/07/26 17:06:31 salo Exp $
+# $NetBSD: upgrade.sh,v 1.9 2009/12/23 09:13:21 mbalmer Exp $
 #
 # Copyright (c) 1994 Christopher G. Demetriou
 # All rights reserved.
@@ -148,7 +148,7 @@
 echo   "system.  If it cannot, hit Control-C at the prompt."
 echo   ""
 while [ "X${drivename}" = "X" ]; do
-       echo -n "Which disk contains your root partion? "
+       echo -n "Which disk contains your root partition? "
        getresp
        otherdrives=`echo "${driveunits}" | sed -e s,${resp},,`
        if [ "X${driveunits}" = "X${otherdrives}" ]; then
diff -r 71a841355c37 -r b0391cc514bf sbin/newfs_udf/newfs_udf.8
--- a/sbin/newfs_udf/newfs_udf.8        Wed Dec 23 09:10:07 2009 +0000
+++ b/sbin/newfs_udf/newfs_udf.8        Wed Dec 23 09:13:21 2009 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: newfs_udf.8,v 1.5 2009/01/18 00:21:09 lukem Exp $
+.\" $NetBSD: newfs_udf.8,v 1.6 2009/12/23 09:13:21 mbalmer Exp $
 .\"
 .\" Copyright (c) 2008 Reinoud Zandijk
 .\" All rights reserved.
@@ -70,7 +70,7 @@
 .Ar setlabel .
 For strict conformance and interchange, don't set this manually.
 .It Fl M
-Disable metadata partion creation when selected UDF version or media dictates
+Disable metadata partition creation when selected UDF version or media dictates
 this. For strict conformance and interchange, don't disable this unless its
 causing problems.
 .It Fl s Ar size
diff -r 71a841355c37 -r b0391cc514bf sbin/newfs_udf/udf_create.c
--- a/sbin/newfs_udf/udf_create.c       Wed Dec 23 09:10:07 2009 +0000
+++ b/sbin/newfs_udf/udf_create.c       Wed Dec 23 09:13:21 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_create.c,v 1.16 2009/05/19 12:13:02 reinoud Exp $ */
+/* $NetBSD: udf_create.c,v 1.17 2009/12/23 09:13:21 mbalmer Exp $ */
 
 /*
  * Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: udf_create.c,v 1.16 2009/05/19 12:13:02 reinoud Exp $");
+__RCSID("$NetBSD: udf_create.c,v 1.17 2009/12/23 09:13:21 mbalmer Exp $");
 #endif /* not lint */
 
 #include <stdio.h>
@@ -309,7 +309,7 @@
                printf("\tsparable size\t\t%d\n", layout.sparable_area_size);
                printf("\tsparable\t\t%d\n", layout.sparable_area);
        }
-       printf("\tpartion start lba\t%d\n", layout.part_start_lba);
+       printf("\tpartition start lba\t%d\n", layout.part_start_lba);
        printf("\tpartition size\t\t%d KiB, %d MiB\n",
                (layout.part_size_lba * sector_size) / 1024,
                (layout.part_size_lba * sector_size) / (1024*1024));
@@ -782,7 +782,7 @@
        context.part_size[log_part] = layout.part_size_lba;
        context.part_free[log_part] = layout.part_size_lba;
 
-       /* increment number of partions and length */
+       /* increment number of partitions and length */
        logvol->n_pm = udf_rw32(log_part + 1);
        logvol->mt_l = udf_rw32(udf_rw32(logvol->mt_l) + pmap1_size);
 
@@ -820,7 +820,7 @@
        context.part_size[log_part] = 0xffffffff;
        context.part_free[log_part] = 0xffffffff;
 
-       /* increment number of partions and length */
+       /* increment number of partitions and length */
        logvol->n_pm = udf_rw32(log_part + 1);
        logvol->mt_l = udf_rw32(udf_rw32(logvol->mt_l) + pmapv_size);
 
@@ -875,7 +875,7 @@
        context.part_size[log_part] = layout.part_size_lba;
        context.part_free[log_part] = layout.part_size_lba;
 
-       /* increment number of partions and length */
+       /* increment number of partitions and length */
        logvol->n_pm = udf_rw32(log_part + 1);
        logvol->mt_l = udf_rw32(udf_rw32(logvol->mt_l) + pmaps_size);
 
@@ -962,7 +962,7 @@
        context.part_size[log_part] = layout.meta_part_size_lba;
        context.part_free[log_part] = layout.meta_part_size_lba;
 
-       /* increment number of partions and length */
+       /* increment number of partitions and length */
        logvol->n_pm = udf_rw32(log_part + 1);
        logvol->mt_l = udf_rw32(udf_rw32(logvol->mt_l) + pmapv_size);
 
@@ -1792,7 +1792,7 @@
 
                free(extattr);
 
-               /* writeout VAT locations (partion offsets) */
+               /* writeout VAT locations (partition offsets) */
                vat_pos = (uint32_t *) (fe->data + udf_rw32(fe->l_ea));
                vat_pos[layout.rootdir] = udf_rw32(layout.rootdir); 
                vat_pos[layout.fsd    ] = udf_rw32(layout.fsd);



Home | Main Index | Thread Index | Old Index