mirror of
https://github.com/troglobit/finit.git
synced 2026-11-19 19:40:50 +00:00
Minor, fix clang warning 'bootstrap shadows local variable'
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
cd383167f9
commit
621d95a89e
1 file changed
+4
-4
+4
-4
@@ -558,11 +558,11 @@ static int telinit(int argc, char *argv[])
|
|||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
struct wq crank = {
|
struct wq crank_work = {
|
||||||
.cb = crank_worker,
|
.cb = crank_worker,
|
||||||
.delay = 10
|
.delay = 10
|
||||||
};
|
};
|
||||||
struct wq bootstrap = {
|
struct wq bootstrap_work = {
|
||||||
.cb = bootstrap_worker,
|
.cb = bootstrap_worker,
|
||||||
.delay = 100
|
.delay = 100
|
||||||
};
|
};
|
||||||
@@ -699,10 +699,10 @@ int main(int argc, char *argv[])
|
|||||||
api_init(&loop);
|
api_init(&loop);
|
||||||
|
|
||||||
_d("Starting the big state machine ...");
|
_d("Starting the big state machine ...");
|
||||||
schedule_work(&crank);
|
schedule_work(&crank_work);
|
||||||
|
|
||||||
_d("Starting bootstrap finalize timer ...");
|
_d("Starting bootstrap finalize timer ...");
|
||||||
schedule_work(&bootstrap);
|
schedule_work(&bootstrap_work);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Enter main loop to monitor /dev/initctl and services
|
* Enter main loop to monitor /dev/initctl and services
|
||||||
|
|||||||
Reference in new issue
Block a user