diff options
author | Ulrich Spörlein <uqs@FreeBSD.org> | 2011-12-30 10:58:14 +0000 |
---|---|---|
committer | Ulrich Spörlein <uqs@FreeBSD.org> | 2011-12-30 10:58:14 +0000 |
commit | af07fd95ed13319f60efea3bc5c3cae1f58a18b8 (patch) | |
tree | a58a9c3529153d8743590ead7421d1b3b5a5fd43 | |
parent | d49f0518f34bab2eb0f3f131f3ddbdbdb5c70059 (diff) | |
download | pw-darwin-af07fd95ed13319f60efea3bc5c3cae1f58a18b8.tar.gz pw-darwin-af07fd95ed13319f60efea3bc5c3cae1f58a18b8.tar.zst pw-darwin-af07fd95ed13319f60efea3bc5c3cae1f58a18b8.zip |
Spelling fixes for usr.sbin/
-rw-r--r-- | adduser/adduser.sh | 4 | ||||
-rw-r--r-- | pw/cpdir.c | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/adduser/adduser.sh b/adduser/adduser.sh index 8e05f33..f645f59 100644 --- a/adduser/adduser.sh +++ b/adduser/adduser.sh @@ -894,7 +894,7 @@ if [ "$procowner" != "0" ]; then exit 1 fi -# Overide from our conf file +# Override from our conf file # Quickly go through the commandline line to see if we should read # from our configuration file. The actual parsing of the commandline # arguments happens after we read in our configuration file (commandline @@ -914,7 +914,7 @@ if [ -n "$readconfig" ]; then fi fi -# Proccess command-line options +# Process command-line options # for _switch ; do case $_switch in @@ -83,14 +83,14 @@ copymkdir(char const * dir, char const * skel, mode_t mode, uid_t uid, gid_t gid if (S_ISDIR(st.st_mode)) { /* Recurse for this */ if (strcmp(e->d_name, ".") != 0 && strcmp(e->d_name, "..") != 0) copymkdir(dst, src, st.st_mode & _DEF_DIRMODE, uid, gid); - chflags(dst, st.st_flags); /* propogate flags */ + chflags(dst, st.st_flags); /* propagate flags */ } else if (S_ISLNK(st.st_mode) && (len = readlink(src, lnk, sizeof(lnk))) != -1) { lnk[len] = '\0'; symlink(lnk, dst); lchown(dst, uid, gid); /* - * Note: don't propogate special attributes - * but do propogate file flags + * Note: don't propagate special attributes + * but do propagate file flags */ } else if (S_ISREG(st.st_mode) && (outfd = open(dst, O_RDWR | O_CREAT | O_EXCL, st.st_mode)) != -1) { if ((infd = open(src, O_RDONLY)) == -1) { @@ -108,7 +108,7 @@ copymkdir(char const * dir, char const * skel, mode_t mode, uid_t uid, gid_t gid write(outfd, copybuf, b); close(infd); /* - * Propogate special filesystem flags + * Propagate special filesystem flags */ fchown(outfd, uid, gid); fchflags(outfd, st.st_flags); |