Fix misspelling of writable as writeable
authorRuss Allbery <rra@stanford.edu>
Sun, 15 May 2011 07:32:40 +0000 (00:32 -0700)
committerDerrick Brashear <shadow@dementia.org>
Sun, 15 May 2011 12:58:57 +0000 (05:58 -0700)
Caught by Lintian in the strings in the butc binary, so I did a global
search for any other occurrences.

Change-Id: I5d5b433e716a62dc43d1c5376841e41d49e29ba5
Reviewed-on: http://gerrit.openafs.org/4657
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>

doc/arch/dafs-overview.txt
src/WINNT/afsd/smb.c
src/butc/lwps.c
src/libadmin/cfg/cfgservers.c
src/sgistuff/rcmd.c
src/vfsck/main.c
src/vol/volume_inline.h

index 3460e6e..ac3e53a 100644 (file)
@@ -358,7 +358,7 @@ lock cannot cause any process to just hang, waiting for a lock.
 
  -- re-reading volume headers
 
-Since we cannot know whether a volume is writeable or not until the
+Since we cannot know whether a volume is writable or not until the
 volume header is read, and we cannot atomically upgrade file-level
 locks, part of attachment can now occur twice (see attach2 and
 attach_volume_header). What occurs is we read the vol header, assuming
index 1ede828..79a9261 100644 (file)
@@ -1931,7 +1931,7 @@ int smb_FindShare(smb_vc_t *vcp, smb_user_t *uidp,
         p = pathName;
         cchlen = lengthof(pathName);
 
-        /* within this code block, we maintain, cchlen = writeable
+        /* within this code block, we maintain, cchlen = writable
            buffer length of p */
 
         if (cm_ClientStrCmpN(p, cm_mountRootC, cm_mountRootCLen) == 0) {
index 1bceba7..47bc3fa 100644 (file)
@@ -564,7 +564,7 @@ PrintPrompt(int flag, char *name, int dumpid)
        break;
 
     case SAVEDBOPCODE:         /* Mount for savedb */
-       printf("Please insert a writeable tape %s for the database dump",
+       printf("Please insert a writable tape %s for the database dump",
               tapename);
        break;
 
index 9cf79da..3328792 100644 (file)
@@ -2108,7 +2108,7 @@ UbikVoteStatusFetch(int serverAddr, unsigned short serverPort,
            *isWriteReady = 0;
 
            if (*isSyncSite) {
-               /* as of 3.5 the database is writeable if "labeled" or if all
+               /* as of 3.5 the database is writable if "labeled" or if all
                 * prior recovery states have been achieved; see defect 9477.
                 */
                if (((udebugInfo.recoveryState & UBIK_RECLABELDB))
@@ -2128,7 +2128,7 @@ UbikVoteStatusFetch(int serverAddr, unsigned short serverPort,
                *isWriteReady = 0;
 
                if (*isSyncSite) {
-                   /* pre 3.5 the database is writeable only if "labeled" */
+                   /* pre 3.5 the database is writable only if "labeled" */
                    if (udebugInfo.recoveryState & UBIK_RECLABELDB) {
                        *isWriteReady = 1;
                    }
index 0cb62eb..da63272 100644 (file)
@@ -419,7 +419,7 @@ ruserok(rhost, superuser, ruser, luser)
            goto bad;
        /*
         * if owned by someone other than user or root or if
-        * writeable by anyone but the owner, quit
+        * writable by anyone but the owner, quit
         */
        if (fstat(fileno(hostf), &sbuf) || sbuf.st_uid
            && sbuf.st_uid != pwd->pw_uid || sbuf.st_mode & 022) {
index ad14eee..5485da3 100644 (file)
@@ -383,7 +383,7 @@ main(argc, argv)
            hotroot = 0;
 #ifdef AFS_SUN5_ENV
            if (wflag && !writable(*argv)) {
-               (void)fprintf(stderr, "not writeable '%s'\n", *argv);
+               (void)fprintf(stderr, "not writable '%s'\n", *argv);
                argv++;
            } else
 #endif
index 571f308..3f1f0af 100644 (file)
@@ -219,7 +219,7 @@ VCanUnlockAttached(void)
  * read lock, or if we do not need to lock it at all, when attaching.
  *
  * @param[in]  mode  volume attachment mode
- * @param[in]  writeable  1 if the volume is writable, 0 if not
+ * @param[in]  writable  1 if the volume is writable, 0 if not
  *
  * @return how we need to lock the vol header
  *  @retval 0 do not lock the vol header at all
@@ -229,11 +229,11 @@ VCanUnlockAttached(void)
  * @note DAFS only (non-DAFS uses partition locks)
  */
 static_inline int
-VVolLockType(int mode, int writeable)
+VVolLockType(int mode, int writable)
 {
     switch (programType) {
     case fileServer:
-       if (writeable) {
+       if (writable) {
            return WRITE_LOCK;
        }
        return READ_LOCK;
@@ -256,7 +256,7 @@ VVolLockType(int mode, int writeable)
 
        case V_CLONE:
        case V_DUMP:
-           if (writeable) {
+           if (writable) {
                return WRITE_LOCK;
            }
            return READ_LOCK;