summary refs log tree commit diff
path: root/src/runsvstat.c
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2005-07-11 10:13:53 +0000
committerGerrit Pape <pape@smarden.org>2005-07-11 10:13:53 +0000
commitc991b7f6d01f85864eac91aee0c9f2310194332d (patch)
tree57171256ab223651c1ae4f2f79b1cf16018931c8 /src/runsvstat.c
parent7fd74fba2decebf76a05b739e3dc657db605a65a (diff)
downloadrunit-c991b7f6d01f85864eac91aee0c9f2310194332d.tar.gz
runit-c991b7f6d01f85864eac91aee0c9f2310194332d.tar.xz
runit-c991b7f6d01f85864eac91aee0c9f2310194332d.zip
* man/runsv.8: typo; no longer document the e control character; clarify
    custom control on d and x.
  * runsvchdir.c, runsvstat.c: optimize output buffer handling.
  * runsvctrl.c: write x control character to runsv on e.
Diffstat (limited to 'src/runsvstat.c')
-rw-r--r--src/runsvstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runsvstat.c b/src/runsvstat.c
index e0e7673..7b2607a 100644
--- a/src/runsvstat.c
+++ b/src/runsvstat.c
@@ -155,7 +155,7 @@ int main(int argc, char **argv) {
 	  }
 	}
       }
-      buffer_putsflush(buffer_1, "\n");
+      buffer_puts(buffer_1, "\n"); buffer_flush(buffer_1);
     }
     if (fchdir(curdir) == -1) {
       rc =100;