]> git.ipfire.org Git - people/ms/dma.git/commitdiff
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)
dma.c
dma.h
spool.c

diff --git a/dma.c b/dma.c
index a77fb8c52a915e63105358ce159bb8bc088293d1..363d49c22b58ebb30d48923310bc023fc659e0c6 100644 (file)
--- a/dma.c
+++ b/dma.c
@@ -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);
diff --git a/dma.h b/dma.h
index 5e4e13e1b874558bf60f9fa70a290351fd81ac8b..81c6ed9d83af7c5800acf0454e5a0f83839b54a3 100644 (file)
--- a/dma.h
+++ b/dma.h
@@ -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 */
diff --git a/spool.c b/spool.c
index efe7c18eff57cbd76a046e920ae4fbc57e24c855..69f29f310953647b37c5d2c21e17fcbfcbdcf940 100644 (file)
--- a/spool.c
+++ b/spool.c
@@ -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);
 }