mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-14 01:49:16 +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)) {
|
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));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user