[rtems-libbsd commit] Print the service when starting.

Chris Johns chrisj at rtems.org
Tue Jun 28 03:33:01 UTC 2016


Module:    rtems-libbsd
Branch:    master
Commit:    c2ec5f188b415ced3047e2969d6678a030396913
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=c2ec5f188b415ced3047e2969d6678a030396913

Author:    Chris Johns <chrisj at rtems.org>
Date:      Tue Jun 28 13:31:11 2016 +1000

Print the service when starting.

---

 rtemsbsd/rtems/rtems-bsd-rc-conf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rtemsbsd/rtems/rtems-bsd-rc-conf.c b/rtemsbsd/rtems/rtems-bsd-rc-conf.c
index 431e1c4..5346593 100644
--- a/rtemsbsd/rtems/rtems-bsd-rc-conf.c
+++ b/rtemsbsd/rtems/rtems-bsd-rc-conf.c
@@ -682,8 +682,8 @@ static rtems_task rc_conf_worker(rtems_task_argument task_argument)
   while (!rtems_chain_is_tail(&services, node)) {
     service* srv = (service*) node;
     int      rr;
-    if (rc_conf->verbose)
-      printf("BSD service: %s\n", srv->name);
+    if (strcmp("network", srv->name) != 0)
+      printf("Starting %s.\n", srv->name);
     rr = srv->entry(rc_conf);
     if (rr < 0) {
       fprintf(stderr, "error: bsd service: %s: %s\n", srv->name, strerror(errno));



More information about the vc mailing list