summaryrefslogtreecommitdiff
path: root/bin/mv
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-03-21 15:49:40 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-03-21 15:49:40 +0000
commitac1cfe24aae11b426934ca0a56f02f215c00787d (patch)
treee187aa6d2e1afbeef57479bd1b05cb674ee165d2 /bin/mv
parent8638f6133d6fc95ea76b3c60bd8f29a420f6096a (diff)
Fix some typos in comments; Patrick Latifi
Diffstat (limited to 'bin/mv')
-rw-r--r--bin/mv/mv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/mv/mv.c b/bin/mv/mv.c
index ae83c1921f8..a46cbe0fd2c 100644
--- a/bin/mv/mv.c
+++ b/bin/mv/mv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mv.c,v 1.26 2003/03/13 22:17:04 millert Exp $ */
+/* $OpenBSD: mv.c,v 1.27 2003/03/21 15:49:39 millert Exp $ */
/* $NetBSD: mv.c,v 1.9 1995/03/21 09:06:52 cgd Exp $ */
/*
@@ -47,7 +47,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)mv.c 8.2 (Berkeley) 4/2/94";
#else
-static char rcsid[] = "$OpenBSD: mv.c,v 1.26 2003/03/13 22:17:04 millert Exp $";
+static char rcsid[] = "$OpenBSD: mv.c,v 1.27 2003/03/21 15:49:39 millert Exp $";
#endif
#endif /* not lint */
@@ -180,7 +180,7 @@ do_move(char *from, char *to)
* (1) If the destination path exists, the -f option is not specified
* and either of the following conditions are true:
*
- * (a) The perimissions of the destination path do not permit
+ * (a) The permissions of the destination path do not permit
* writing and the standard input is a terminal.
* (b) The -i option is specified.
*
@@ -263,7 +263,7 @@ do_move(char *from, char *to)
/*
* (5) The file hierarchy rooted in source_file shall be duplicated
- * as a file hiearchy rooted in the destination path...
+ * as a file hierarchy rooted in the destination path...
*/
return (S_ISREG(fsb.st_mode) ?
fastcopy(from, to, &fsb) : copy(from, to));