*/
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);
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 */
}
int
-aquirespool(struct qitem *it)
+acquirespool(struct qitem *it)
{
int queuefd;
return (0);
fail:
- syslog(LOG_INFO, "could not aquire queue file: %m");
+ syslog(LOG_INFO, "could not acquire queue file: %m");
return (-1);
}