summaryrefslogtreecommitdiff
path: root/spool.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-10-10 23:22:05 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-10-10 23:22:05 +0000
commit21301f73549aa63885352c5d33eadf82484c4bf7 (patch)
tree237affd556bb957b95eebf7bba47cc1d6cf3f88e /spool.c
parentc48517e8d3cc4e8abc200d7d5dffc340fc4f01c7 (diff)
Diffstat (limited to 'spool.c')
-rw-r--r--spool.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/spool.c b/spool.c
index 416b5fa8f0eeb..e9c9c4355ab45 100644
--- a/spool.c
+++ b/spool.c
@@ -1,8 +1,9 @@
/*
+ * Copyright (c) 2008-2014, Simon Schubert <2@0x2c.org>.
* Copyright (c) 2008 The DragonFly Project. All rights reserved.
*
* This code is derived from software contributed to The DragonFly Project
- * by Simon 'corecode' Schubert <corecode@fs.ei.tum.de>.
+ * by Simon Schubert <2@0x2c.org>.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -289,7 +290,7 @@ load_queue(struct queue *queue)
spooldir = opendir(config.spooldir);
if (spooldir == NULL)
- err(1, "reading queue");
+ err(EX_NOINPUT, "reading queue");
while ((de = readdir(spooldir)) != NULL) {
queuefn = NULL;