[BusyBox] Re: [PATCH] cosmetic changes to syslogd.c
Robert Schwebel
robert at schwebel.de
Sun Oct 27 18:03:03 UTC 2002
On Mon, Oct 28, 2002 at 01:59:51AM +0100, Robert Schwebel wrote:
> here is a small cosmetic change to syslogd.c. Erik, is there a reason
> why you didn't include the "syslog prefix patch" by Jason Luther which
> was posted on Jan 03 2002?
Uhm - I actually forgot to send the patch. Here it is.
Robert
--
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Braunschweiger Str. 79, 31134 Hildesheim, Germany
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4
Visit us at the SPS/IPC/Drives 2002 in Nuernberg!
Hall 5, Booth 154 +++ Please contact us for details.
-------------- next part --------------
--- syslogd.c Mon Oct 28 01:54:43 2002
+++ syslogd-rs.c Mon Oct 28 01:53:03 2002
@@ -352,7 +352,7 @@
#ifdef CONFIG_FEATURE_REMOTE_LOG
/* send message to remote logger */
if ( -1 != remotefd){
-static const int IOV_COUNT = 2;
+ static const int IOV_COUNT = 2;
struct iovec iov[IOV_COUNT];
struct iovec *v = iov;
@@ -367,7 +367,7 @@
writev_retry:
if ( -1 == writev(remotefd,iov, IOV_COUNT)){
if (errno == EINTR) goto writev_retry;
- error_msg_and_die("cannot write to remote file handle on"
+ error_msg_and_die("cannot write to remote file handle on "
"%s:%d",RemoteHost,RemotePort);
}
}
More information about the busybox
mailing list