aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-08-12 21:33:06 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-08-12 21:33:06 +0000
commit5f1b149d541ebba7cab841cb647f113248f9fb8f (patch)
treee7f962fba89b6e201b4c857e32d85c9671b3db0d /include
parent1b9064d5355b5c26676e8447a1900116066e42e4 (diff)
downloadbusybox-w32-5f1b149d541ebba7cab841cb647f113248f9fb8f.tar.gz
busybox-w32-5f1b149d541ebba7cab841cb647f113248f9fb8f.tar.bz2
busybox-w32-5f1b149d541ebba7cab841cb647f113248f9fb8f.zip
syslogd,logread: get rid of head pointer, fix logread bug in the process
function old new delta logread_main 450 462 +12 syslogd_main 1246 1252 +6 shbuf - 4 +4 buf 34 30 -4 packed_usage 22729 22724 -5 log_locally 957 767 -190 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/3 up/down: 22/-199) Total: -177 bytes text data bss dec hex filename 773886 1116 11316 786318 bff8e busybox_old 773714 1116 11316 786146 bfee2 busybox_unstripped
Diffstat (limited to 'include')
-rw-r--r--include/usage.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/usage.h b/include/usage.h
index 9c14f4508..3f2916006 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3327,17 +3327,17 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
3327 "Note that this version of syslogd ignores /etc/syslog.conf." \ 3327 "Note that this version of syslogd ignores /etc/syslog.conf." \
3328 "\n\nOptions:" \ 3328 "\n\nOptions:" \
3329 "\n -n Run as foreground process" \ 3329 "\n -n Run as foreground process" \
3330 "\n -O FILE Use an alternate log file (default=/var/log/messages)" \ 3330 "\n -O FILE Log to given file (default=/var/log/messages)" \
3331 "\n -l n Sets the local log level of messages to n" \ 3331 "\n -l n Set local log level" \
3332 "\n -S Make logging output smaller" \ 3332 "\n -S Smaller logging output" \
3333 USE_FEATURE_ROTATE_LOGFILE( \ 3333 USE_FEATURE_ROTATE_LOGFILE( \
3334 "\n -s SIZE Max size (KB) before rotate (default=200KB, 0=off)" \ 3334 "\n -s SIZE Max size (KB) before rotate (default=200KB, 0=off)" \
3335 "\n -b NUM Number of rotated logs to keep (default=1, max=99, 0=purge)") \ 3335 "\n -b NUM Number of rotated logs to keep (default=1, max=99, 0=purge)") \
3336 USE_FEATURE_REMOTE_LOG( \ 3336 USE_FEATURE_REMOTE_LOG( \
3337 "\n -R HOST[:PORT] Log to IP or hostname on PORT (default PORT=514/UDP)" \ 3337 "\n -R HOST[:PORT] Log to IP or hostname on PORT (default PORT=514/UDP)" \
3338 "\n -L Log locally and via network logging (default is network only)") \ 3338 "\n -L Log locally and via network (default is network only if -R)") \
3339 USE_FEATURE_IPC_SYSLOG( \ 3339 USE_FEATURE_IPC_SYSLOG( \
3340 "\n -C[size(KiB)] Log to a shared mem buffer (read the buffer using logread)") 3340 "\n -C[size(KiB)] Log to shared mem buffer (read it using logread)")
3341 /* NB: -Csize shouldn't have space (because size is optional) */ 3341 /* NB: -Csize shouldn't have space (because size is optional) */
3342/* "\n -m MIN Minutes between MARK lines (default=20, 0=off)" */ 3342/* "\n -m MIN Minutes between MARK lines (default=20, 0=off)" */
3343#define syslogd_example_usage \ 3343#define syslogd_example_usage \