Description: Fix various typos
Author: Bill Blough <devel@blough.us>
Forwarded: no

Index: amanda-3.3.6/ndmp-src/ndmjob_args.c
===================================================================
--- amanda-3.3.6.orig/ndmp-src/ndmjob_args.c	2014-07-09 15:21:55.000000000 +0100
+++ amanda-3.3.6/ndmp-src/ndmjob_args.c	2014-08-25 04:54:57.000000000 +0100
@@ -54,8 +54,8 @@ char *help_text[] = {
 	"  -o init-labels -- init media labels",
 #endif /* !NDMOS_OPTION_NO_CONTROL_AGENT */
 #ifndef NDMOS_EFFECT_NO_SERVER_AGENTS
-	"  -o daemon      -- launch session for incomming connections",
-	"  -o test-daemon -- launch session for incomming connections, exit when stdin is closed",
+	"  -o daemon      -- launch session for incoming connections",
+	"  -o test-daemon -- launch session for incoming connections, exit when stdin is closed",
 	"  -o tape-size=SIZE -- specify the length, in bytes of the simulated tape",
 #endif /* !NDMOS_EFFECT_NO_SERVER_AGENTS */
 #ifndef NDMOS_OPTION_NO_CONTROL_AGENT
Index: amanda-3.3.6/common-src/util.c
===================================================================
--- amanda-3.3.6.orig/common-src/util.c	2014-07-09 15:22:00.000000000 +0100
+++ amanda-3.3.6/common-src/util.c	2014-08-25 04:54:57.000000000 +0100
@@ -1076,7 +1076,7 @@ int copy_file(
     if ((outfd = open(dst, O_WRONLY|O_CREAT, 0600)) == -1) {
 	save_errno = errno;
 	quoted = quote_string(dst);
-	*errmsg = vstrallocf(_("Can't open file '%s' for writting: %s"),
+	*errmsg = vstrallocf(_("Can't open file '%s' for writing: %s"),
 			    quoted, strerror(save_errno));
 	amfree(quoted);
 	close(infd);
Index: amanda-3.3.6/server-src/amindexd.c
===================================================================
--- amanda-3.3.6.orig/server-src/amindexd.c	2014-07-09 15:21:57.000000000 +0100
+++ amanda-3.3.6/server-src/amindexd.c	2014-08-25 04:54:57.000000000 +0100
@@ -249,7 +249,7 @@ uncompress_file(
 
 	indexfd = open(filename,O_WRONLY|O_CREAT, 0600);
 	if (indexfd == -1) {
-	    msg = vstrallocf(_("Can't open '%s' for writting: %s"),
+	    msg = vstrallocf(_("Can't open '%s' for writing: %s"),
 			      filename, strerror(errno));
 	    dbprintf("%s\n", msg);
 	    g_ptr_array_add(*emsg, msg);
Index: amanda-3.3.6/device-src/tape-device.c
===================================================================
--- amanda-3.3.6.orig/device-src/tape-device.c	2014-07-09 15:21:56.000000000 +0100
+++ amanda-3.3.6/device-src/tape-device.c	2014-08-25 04:54:57.000000000 +0100
@@ -581,7 +581,7 @@ tape_device_set_compression_fn(Device *p
 	device_clear_volume_details(p_self);
     } else {
 	device_set_error(p_self,
-	    g_strdup("Error setting COMPRESION property"),
+	    g_strdup("Error setting COMPRESSION property"),
 	    DEVICE_STATUS_DEVICE_ERROR);
 	return FALSE;
     }
Index: amanda-3.3.6/man/amanda-auth.7
===================================================================
--- amanda-3.3.6.orig/man/amanda-auth.7	2014-08-25 04:54:37.000000000 +0100
+++ amanda-3.3.6/man/amanda-auth.7	2014-08-25 04:54:57.000000000 +0100
@@ -168,7 +168,7 @@ Each authorization is on its own line in
 .PP
 If
 \fIusername\fR
-is ommitted, it defaults to the user running
+is omitted, it defaults to the user running
 \fBamandad\fR, i\&.e\&. the user listed in the
 \fBinetd\fR
 or
Index: amanda-3.3.6/man/amanda-changers.7
===================================================================
--- amanda-3.3.6.orig/man/amanda-changers.7	2014-07-11 12:56:26.000000000 +0100
+++ amanda-3.3.6/man/amanda-changers.7	2014-08-25 04:54:57.000000000 +0100
@@ -676,7 +676,7 @@ not found in these slots, except for imp
 .RE
 .SS "Timing"
 .PP
-Tape libraries are fickle, and in many cases will report that an operation is complete when it is still in progress\&. Chg\-robot takes several timing\-related properties to accomodate such behavior\&.
+Tape libraries are fickle, and in many cases will report that an operation is complete when it is still in progress\&. Chg\-robot takes several timing\-related properties to accommodate such behavior\&.
 .PP
 A typical sequence of operations performed during a load are: get library status, eject a tape, unload the tape back to a storage slot, load a new tape, and read the label on that tape to ensure the drive is ready\&.
 .PP
Index: amanda-3.3.6/man/amanda.conf.5
===================================================================
--- amanda-3.3.6.orig/man/amanda.conf.5	2014-08-25 04:54:34.000000000 +0100
+++ amanda-3.3.6/man/amanda.conf.5	2014-08-25 04:54:57.000000000 +0100
@@ -2496,7 +2496,7 @@ for more information on configuring tape
 .PP
 Amanda can "split" dumps into parts while writing them to storage media\&. This allows Amanda to recover gracefully from a failure while writing a part to a volume, by simply selecting a new volume and re\-writing the dump from the beginning of the failed part\&. Parts also allow Amanda to seek directly to the required data, although this functionality is not yet used\&.
 .PP
-In order to support re\-writing from the beginning of a failed part, Amanda must have access to the contents of the part after it has been partially written\&. If the dump is being read from holding disk, then the part contents are availble there\&. Otherwise, the part must be cached, and this can be done memory or on disk\&. In either of the latter cases, the cache must have enough space to hold an entire part\&.
+In order to support re\-writing from the beginning of a failed part, Amanda must have access to the contents of the part after it has been partially written\&. If the dump is being read from holding disk, then the part contents are available there\&. Otherwise, the part must be cached, and this can be done memory or on disk\&. In either of the latter cases, the cache must have enough space to hold an entire part\&.
 .PP
 Because it is common for a single Amanda configuration to use both holding\-disk (FILE\-WRITE) and direct (known as PORT\-WRITE) dumps, Amanda allows the configuration of different split sizes for the two cases\&. This allows, for example, for a part size appropriate to large tapes when performing FILE\-WRITE dumps, with a part size limited by available disk or memory when performing PORT\-WRITE dumps\&.
 .PP
Index: amanda-3.3.6/man/amzfs-sendrecv.8
===================================================================
--- amanda-3.3.6.orig/man/amzfs-sendrecv.8	2014-07-11 12:56:25.000000000 +0100
+++ amanda-3.3.6/man/amzfs-sendrecv.8	2014-08-25 04:54:57.000000000 +0100
@@ -31,9 +31,9 @@
 amzfs-sendrecv \- Amanda script to create zfs sendrecv
 .SH "DESCRIPTION"
 .PP
-amzfs\-sendrecv is an Amanda application implementing the Application API\&. It should not be run by users directly\&. It create a zfs snapshot of the filesystem and backup the snapshot with \*(Aqzfs send\*(Aq\&. Snapshot are kept after the backup is done, this increase the disk space use on the client but it is neccesary to be able do to incremental backup\&. If you want only full backup, you can disable this feature by setting the KEEP\-SNAPSHOT property to \*(AqNO\*(Aq\&. Only the restoration of the complete backup is allowed, it is impossible to restore a single file\&.
+amzfs\-sendrecv is an Amanda application implementing the Application API\&. It should not be run by users directly\&. It create a zfs snapshot of the filesystem and backup the snapshot with \*(Aqzfs send\*(Aq\&. Snapshot are kept after the backup is done, this increase the disk space use on the client but it is necessary to be able do to incremental backup\&. If you want only full backup, you can disable this feature by setting the KEEP\-SNAPSHOT property to \*(AqNO\*(Aq\&. Only the restoration of the complete backup is allowed, it is impossible to restore a single file\&.
 .PP
-The application is run as the amanda user, it must have many zfs priviledge:
+The application is run as the amanda user, it must have many zfs privilege:
 .sp
 .nf
     zfs allow \-ldu AMANDA_USER mount,create,rename,snapshot,destroy,send,receive FILESYSTEM
Index: amanda-3.3.6/man/amzfs-snapshot.8
===================================================================
--- amanda-3.3.6.orig/man/amzfs-snapshot.8	2014-07-11 12:56:25.000000000 +0100
+++ amanda-3.3.6/man/amzfs-snapshot.8	2014-08-25 04:54:57.000000000 +0100
@@ -42,7 +42,7 @@ PRE\-DLE\-* create a snapshot and the PO
 .PP
 The PRE_DLE_* script output a DIRECTORY property telling where the directory is located in the snapshot\&. The application must be able to use the DIRECTORY property, amgtar can do it\&.
 .PP
-The script is run as the amanda user, it must have the priviledge to create and destroy snapshot:
+The script is run as the amanda user, it must have the privilege to create and destroy snapshot:
 .sp
 .nf
     zfs allow \-ldu AMANDA_USER mount,snapshot,destroy FILESYSTEM
