aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-02-04 01:03:34 +0000
committerBill Nottingham <notting@redhat.com>1999-02-04 01:03:34 +0000
commite8d2f95c03d1df94ca6ab9bab11f0f1d8e8c5893 (patch)
tree3b299a1b638cf16e4d9574318b683851395f6e4c /src
parent2aa519f20375260f6e22d408e8bce7fabf2140b6 (diff)
downloadinitscripts-e8d2f95c03d1df94ca6ab9bab11f0f1d8e8c5893.tar
initscripts-e8d2f95c03d1df94ca6ab9bab11f0f1d8e8c5893.tar.gz
initscripts-e8d2f95c03d1df94ca6ab9bab11f0f1d8e8c5893.tar.bz2
initscripts-e8d2f95c03d1df94ca6ab9bab11f0f1d8e8c5893.tar.xz
initscripts-e8d2f95c03d1df94ca6ab9bab11f0f1d8e8c5893.zip
bugfixes...
Diffstat (limited to 'src')
-rw-r--r--src/initlog.c1
-rw-r--r--src/process.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/initlog.c b/src/initlog.c
index 96b5af87..cd787fcf 100644
--- a/src/initlog.c
+++ b/src/initlog.c
@@ -121,7 +121,6 @@ int logLine(struct logInfo *logEnt) {
if (logEntries>0) {
for (x=0;x<logEntries;x++) {
openlog(logData[x].cmd,0,logData[x].fac);
- printf("flushing %s\n",logData[x].line);
syslog(logData[x].pri,"%s",logData[x].line);
closelog();
}
diff --git a/src/process.c b/src/process.c
index 48f3b314..860d9452 100644
--- a/src/process.c
+++ b/src/process.c
@@ -176,6 +176,7 @@ int monitor(char *cmdname, int pid, int numfds, int *fds, int reexec, int quiet)
buf=calloc(2048,sizeof(char));
do {
x=read(outpipe[0],buf,2048);
+ write(1,"\n",1);
write(1,buf,x);
buf=calloc(2048,sizeof(char));
} while (x==2048);