summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Horák <dan@danny.cz>2010-04-21 08:52:06 +0200
committerDan Horák <dan@danny.cz>2010-04-21 08:52:06 +0200
commit6edb59800ba0e6109d63e937e16a3c6e134271d0 (patch)
tree4b73584eda58bc457b156dabef96a94964376f60
parentf6d1d6e23c7bf5dfd8e00b9bfd32fadc88f76caf (diff)
downloadutils-6edb59800ba0e6109d63e937e16a3c6e134271d0.tar.gz
utils-6edb59800ba0e6109d63e937e16a3c6e134271d0.tar.xz
utils-6edb59800ba0e6109d63e937e16a3c6e134271d0.zip
rename wait_on_device to wait_on_single_device
-rw-r--r--device_cio_free4
1 files changed, 2 insertions, 2 deletions
diff --git a/device_cio_free b/device_cio_free
index 59e4e33..42d3cfd 100644
--- a/device_cio_free
+++ b/device_cio_free
@@ -56,7 +56,7 @@ free_device()
}
# wait until a device appears on the ccw bus
-wait_on_device()
+wait_on_single_device()
{
local DEVICE_ONLINE DEV
@@ -250,7 +250,7 @@ do
[ $i -eq $U0 -a $j -eq $U1 ] && UK=$U2 || UK=65535
for k in $(seq $LK $UK); do
- wait_on_device "$(printf %x.%x.%04x $i $j $k)"
+ wait_on_single_device "$(printf %x.%x.%04x $i $j $k)"
done
done
done