From 9aec6ad80ce1b172acaba06519377fa3838ff318 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Sat, 29 Aug 2009 23:04:45 +0200 Subject: [PATCH] Fix typo: aquire -> acquire. --- dma.c | 4 ++-- dma.h | 2 +- spool.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dma.c b/dma.c index a77fb8c..363d49c 100644 --- 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 5e4e13e..81c6ed9 100644 --- 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 efe7c18..69f29f3 100644 --- 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); } -- 2.47.3