summaryrefslogtreecommitdiffstats
path: root/usr.sbin/newsyslog
diff options
context:
space:
mode:
authorgad <gad@FreeBSD.org>2004-06-03 23:44:38 +0000
committergad <gad@FreeBSD.org>2004-06-03 23:44:38 +0000
commit2769786f25c4cbe188b047d5be6a128be7c491c7 (patch)
treeccc18fc5bd980f45813d7d66d4dfae93baca1d33 /usr.sbin/newsyslog
parent4cb95ee7021ba28fa06f8ab47474320590995b42 (diff)
downloadFreeBSD-src-2769786f25c4cbe188b047d5be6a128be7c491c7.zip
FreeBSD-src-2769786f25c4cbe188b047d5be6a128be7c491c7.tar.gz
Style-istic fix to a number of #define's that were not followed by a tab...
MFC after: 16 days
Diffstat (limited to 'usr.sbin/newsyslog')
-rw-r--r--usr.sbin/newsyslog/newsyslog.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/usr.sbin/newsyslog/newsyslog.c b/usr.sbin/newsyslog/newsyslog.c
index 5112ba5..7b01b39 100644
--- a/usr.sbin/newsyslog/newsyslog.c
+++ b/usr.sbin/newsyslog/newsyslog.c
@@ -26,9 +26,9 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#define OSF
+#define OSF
#ifndef COMPRESS_POSTFIX
-#define COMPRESS_POSTFIX ".gz"
+#define COMPRESS_POSTFIX ".gz"
#endif
#ifndef BZCOMPRESS_POSTFIX
#define BZCOMPRESS_POSTFIX ".bz2"
@@ -60,25 +60,25 @@ __FBSDID("$FreeBSD$");
/*
* Bit-values for the 'flags' parsed from a config-file entry.
*/
-#define CE_COMPACT 0x0001 /* Compact the achived log files with gzip. */
-#define CE_BZCOMPACT 0x0002 /* Compact the achived log files with bzip2. */
-#define CE_COMPACTWAIT 0x0004 /* wait until compressing one file finishes */
+#define CE_COMPACT 0x0001 /* Compact the achived log files with gzip. */
+#define CE_BZCOMPACT 0x0002 /* Compact the achived log files with bzip2. */
+#define CE_COMPACTWAIT 0x0004 /* wait until compressing one file finishes */
/* before starting the next step. */
-#define CE_BINARY 0x0008 /* Logfile is in binary, do not add status */
+#define CE_BINARY 0x0008 /* Logfile is in binary, do not add status */
/* messages to logfile(s) when rotating. */
-#define CE_NOSIGNAL 0x0010 /* There is no process to signal when */
+#define CE_NOSIGNAL 0x0010 /* There is no process to signal when */
/* trimming this file. */
-#define CE_TRIMAT 0x0020 /* trim file at a specific time. */
-#define CE_GLOB 0x0040 /* name of the log is file name pattern. */
-#define CE_SIGNALGROUP 0x0080 /* Signal a process-group instead of a single */
+#define CE_TRIMAT 0x0020 /* trim file at a specific time. */
+#define CE_GLOB 0x0040 /* name of the log is file name pattern. */
+#define CE_SIGNALGROUP 0x0080 /* Signal a process-group instead of a single */
/* process when trimming this file. */
-#define CE_CREATE 0x0100 /* Create the log file if it does not exist. */
+#define CE_CREATE 0x0100 /* Create the log file if it does not exist. */
#define CE_NODUMP 0x0200 /* Set 'nodump' on newly created log file. */
-#define MIN_PID 5 /* Don't touch pids lower than this */
-#define MAX_PID 99999 /* was lower, see /usr/include/sys/proc.h */
+#define MIN_PID 5 /* Don't touch pids lower than this */
+#define MAX_PID 99999 /* was lower, see /usr/include/sys/proc.h */
-#define kbytes(size) (((size) + 1023) >> 10)
+#define kbytes(size) (((size) + 1023) >> 10)
struct conf_entry {
char *log; /* Name of the log */
@@ -99,7 +99,7 @@ struct conf_entry {
struct conf_entry *next;/* Linked list pointer */
};
-#define DEFAULT_MARKER "<default>"
+#define DEFAULT_MARKER "<default>"
int dbg_at_times; /* -D Show details of 'trim_at' code */
@@ -299,7 +299,7 @@ free_clist(struct conf_entry **firstent)
static void
do_entry(struct conf_entry * ent)
{
-#define REASON_MAX 80
+#define REASON_MAX 80
int size, modtime;
double diffsecs;
char temp_reason[REASON_MAX];
OpenPOWER on IntegriCloud