Print the service when starting.

This commit is contained in:
Chris Johns 2016-06-28 13:31:11 +10:00
parent f588325390
commit c2ec5f188b

View File

@ -682,8 +682,8 @@ static rtems_task rc_conf_worker(rtems_task_argument task_argument)
while (!rtems_chain_is_tail(&services, node)) { while (!rtems_chain_is_tail(&services, node)) {
service* srv = (service*) node; service* srv = (service*) node;
int rr; int rr;
if (rc_conf->verbose) if (strcmp("network", srv->name) != 0)
printf("BSD service: %s\n", srv->name); printf("Starting %s.\n", srv->name);
rr = srv->entry(rc_conf); rr = srv->entry(rc_conf);
if (rr < 0) { if (rr < 0) {
fprintf(stderr, "error: bsd service: %s: %s\n", srv->name, strerror(errno)); fprintf(stderr, "error: bsd service: %s: %s\n", srv->name, strerror(errno));