summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr/common_source
diff options
context:
space:
mode:
authorjh <jh@FreeBSD.org>2012-07-17 09:31:05 +0000
committerjh <jh@FreeBSD.org>2012-07-17 09:31:05 +0000
commit76909020e0bcf387498081c0bb4e052f1558550c (patch)
treea92abc04009dd2b2f9ac2f80d5e03aedd6fa345e /usr.sbin/lpr/common_source
parentdf07abd457b125e834e6e9d477a00c8571b967f3 (diff)
downloadFreeBSD-src-76909020e0bcf387498081c0bb4e052f1558550c.zip
FreeBSD-src-76909020e0bcf387498081c0bb4e052f1558550c.tar.gz
Remove trailing whitespace.
MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/lpr/common_source')
-rw-r--r--usr.sbin/lpr/common_source/common.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/lpr/common_source/common.c b/usr.sbin/lpr/common_source/common.c
index 819d7dd..9b87dfa 100644
--- a/usr.sbin/lpr/common_source/common.c
+++ b/usr.sbin/lpr/common_source/common.c
@@ -136,7 +136,7 @@ getq(const struct printer *pp, struct jobqueue *(*namelist[]))
/*
* Estimate the array size by taking the size of the directory file
- * and dividing it by a multiple of the minimum size entry.
+ * and dividing it by a multiple of the minimum size entry.
*/
arraysz = (stbuf.st_size / 24);
queue = (struct jobqueue **)malloc(arraysz * sizeof(struct jobqueue *));
@@ -641,7 +641,7 @@ trstat_write(struct printer *pp, tr_sendrecv sendrecv, size_t bytecnt,
* secs=<n> - seconds it took to transfer the file
* bytes=<n> - number of bytes transfered (ie, "bytecount")
* bps=<n.n>e<n> - Bytes/sec (if the transfer was "big enough"
- * for this to be useful)
+ * for this to be useful)
* ! top=<str> - type of printer (if the type is defined in
* printcap, and if this statline is for sending
* a file to that ptr)
@@ -719,7 +719,7 @@ trstat_write(struct printer *pp, tr_sendrecv sendrecv, size_t bytecnt,
if (remspace > 1) {
strcpy(eostat, "\n");
} else {
- /* probably should back up to just before the final " x=".. */
+ /* probably should back up to just before the final " x=".. */
strcpy(statline+STATLINE_SIZE-2, "\n");
}
statfile = open(statfname, O_WRONLY|O_APPEND, 0664);
@@ -732,7 +732,7 @@ trstat_write(struct printer *pp, tr_sendrecv sendrecv, size_t bytecnt,
close(statfile);
return;
-#undef UPD_EOSTAT
+#undef UPD_EOSTAT
}
#include <stdarg.h>
OpenPOWER on IntegriCloud