summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-06-28 13:31:11 +1000
committerChris Johns <chrisj@rtems.org>2016-06-28 13:31:11 +1000
commitc2ec5f188b415ced3047e2969d6678a030396913 (patch)
tree0c4e05669b30aa19812bf29e63cacbecdd11c83e
parentChange the Nexus bus to defines and have the BSP declare them. (diff)
downloadrtems-libbsd-c2ec5f188b415ced3047e2969d6678a030396913.tar.bz2
Print the service when starting.
-rw-r--r--rtemsbsd/rtems/rtems-bsd-rc-conf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rtemsbsd/rtems/rtems-bsd-rc-conf.c b/rtemsbsd/rtems/rtems-bsd-rc-conf.c
index 431e1c44..53465931 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));