mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-13 13:40:03 +08:00
Print the service when starting.
This commit is contained in:
parent
f588325390
commit
c2ec5f188b
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user