Fix typo: aquire -> acquire.
authorSascha Wildner <saw@online.de>
Sat, 29 Aug 2009 21:04:45 +0000 (23:04 +0200)
committerSascha Wildner <saw@online.de>
Sat, 29 Aug 2009 21:05:53 +0000 (23:05 +0200)
lib/libc_r/uthread/uthread_cond.c
libexec/dma/dma.c
libexec/dma/dma.h
libexec/dma/spool.c
sys/dev/disk/ncr/ncr.c
sys/dev/sound/pcm/channel.c
sys/kern/lwkt_token.c
sys/netinet/sctp_output.c
usr.sbin/rpc.lockd/lockd_lock.c

index f61f857..07732e1 100644 (file)
@@ -269,7 +269,7 @@ _pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex)
                                                 * errors.  Note that even
                                                 * though this thread may have
                                                 * been canceled, POSIX requires
-                                                * that the mutex be reaquired
+                                                * that the mutex be reacquired
                                                 * prior to cancellation.
                                                 */
                                                (void)_mutex_cv_lock(mutex);
@@ -430,7 +430,7 @@ _pthread_cond_timedwait(pthread_cond_t * cond, pthread_mutex_t * mutex,
                                                 * errors.  Note that even
                                                 * though this thread may have
                                                 * been canceled, POSIX requires
-                                                * that the mutex be reaquired
+                                                * that the mutex be reacquired
                                                 * prior to cancellation.
                                                 */
                                                (void)_mutex_cv_lock(mutex);
index a77fb8c..363d49c 100644 (file)
@@ -223,12 +223,12 @@ go_background(struct queue *queue)
                         */
 retit:
                        /*
-                        * If necessary, aquire the queue and * mail files.
+                        * If necessary, acquire the queue and * mail files.
                         * If this fails, we probably were raced by another
                         * process.
                         */
                        setlogident("%s", it->queueid);
-                       if (aquirespool(it) < 0)
+                       if (acquirespool(it) < 0)
                                exit(1);
                        dropspool(queue, it);
                        return (it);
index 5e4e13e..81c6ed9 100644 (file)
@@ -182,7 +182,7 @@ int newspoolf(struct queue *);
 int linkspool(struct queue *);
 int load_queue(struct queue *);
 void delqueue(struct qitem *);
-int aquirespool(struct qitem *);
+int acquirespool(struct qitem *);
 void dropspool(struct queue *, struct qitem *);
 
 /* local.c */
index efe7c18..69f29f3 100644 (file)
@@ -333,7 +333,7 @@ delqueue(struct qitem *it)
 }
 
 int
-aquirespool(struct qitem *it)
+acquirespool(struct qitem *it)
 {
        int queuefd;
 
@@ -355,7 +355,7 @@ aquirespool(struct qitem *it)
        return (0);
 
 fail:
-       syslog(LOG_INFO, "could not aquire queue file: %m");
+       syslog(LOG_INFO, "could not acquire queue file: %m");
        return (-1);
 }
 
index 3ef8309..73bb88d 100644 (file)
@@ -6408,7 +6408,7 @@ out:
 /*==========================================================
 **
 **
-**     Aquire a control block
+**     Acquire a control block
 **
 **
 **==========================================================
index 883481a..4559d77 100644 (file)
@@ -145,7 +145,7 @@ chn_wakeup(struct pcm_channel *c)
                        /*
                         * We would call selwakeup() here, but as we
                         * are in interrupt context, we'd have to
-                        * aquire the MP lock before.
+                        * acquire the MP lock before.
                         * Instead, we'll queue a task in a software
                         * interrupt, which will run with the MP lock
                         * held.
index 27c1423..7b21aff 100644 (file)
@@ -112,7 +112,7 @@ SYSCTL_INT(_lwkt, OID_AUTO, token_debug, CTLFLAG_RW, &token_debug, 0, "");
  * stale tokens (lwkt_token_is_stale).
  * 
  * lwkt_getalltokens is called by the LWKT scheduler to acquire all
- * tokens that the thread had aquired prior to going to sleep.
+ * tokens that the thread had acquired prior to going to sleep.
  *
  * Called from a critical section.
  */
index a1938a2..d09eb4b 100644 (file)
@@ -9660,7 +9660,7 @@ sctp_copy_it_in(struct sctp_inpcb *inp,
                        }
                        error = ssb_lock(&so->so_snd, M_WAITOK);
                        if (error) {
-                               /* Can't aquire the lock */
+                               /* Can't acquire the lock */
                                crit_exit();
                                goto out_locked;
                        }
index dcf89a1..4fe8102 100644 (file)
@@ -76,7 +76,7 @@ struct file_lock {
 /* lock status */
 #define LKST_LOCKED    1 /* lock is locked */
 #define LKST_WAITING   2 /* file is already locked by another host */
-#define LKST_PROCESSING        3 /* child is trying to aquire the lock */
+#define LKST_PROCESSING        3 /* child is trying to acquire the lock */
 #define LKST_DYING     4 /* must dies when we get news from the child */
 
 void           lfree(struct file_lock *);
@@ -136,7 +136,7 @@ testlock(struct nlm4_lock *lock, int flags)
 }
 
 /*
- * getlock: try to aquire the lock.
+ * getlock: try to acquire the lock.
  * If file is already locked and we can sleep, put the lock in the list with
  * status LKST_WAITING; it'll be processed later.
  * Otherwise try to lock. If we're allowed to block, fork a child which
@@ -401,7 +401,7 @@ sigchild_handler(int sig)
 
 /*
  *
- * try to aquire the lock described by fl. Eventually fock a child to do a
+ * try to acquire the lock described by fl. Eventually fock a child to do a
  * blocking lock if allowed and required.
  */