summaryrefslogtreecommitdiff
path: root/src/rfkill
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-06-02 01:01:31 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-06-04 01:19:43 +0900
commit1b47436e0ecb67dd6d0f2ddc85d0738f0b92b4c0 (patch)
tree773dae1f33ddb72dc6259f5ae6fe075166bf6443 /src/rfkill
parentf822c5d59e20c0f3b3f715ae16d2dd26003ef97e (diff)
downloadsystemd-1b47436e0ecb67dd6d0f2ddc85d0738f0b92b4c0.tar.gz
util: make device_wait_for_initialization() optionally takes timeout value
Diffstat (limited to 'src/rfkill')
-rw-r--r--src/rfkill/rfkill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rfkill/rfkill.c b/src/rfkill/rfkill.c
index fe26566fa3..f9d309c909 100644
--- a/src/rfkill/rfkill.c
+++ b/src/rfkill/rfkill.c
@@ -109,7 +109,7 @@ static int determine_state_file(
if (r < 0)
return r;
- r = device_wait_for_initialization(d, "rfkill", &device);
+ r = device_wait_for_initialization(d, "rfkill", USEC_INFINITY, &device);
if (r < 0)
return r;