summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-11-03 23:43:07 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-11-03 23:43:07 +0100
commit984f7ab5c6763dd633ab7c366de9d51300f34119 (patch)
tree2f9fbfb3463528e3af05dcaca25547480a4335a4
parent4377f20279499b543d28c2687497f926b9ced16e (diff)
function name fix
-rw-r--r--src/core/libs/lib-ui.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/libs/lib-ui.sh b/src/core/libs/lib-ui.sh
index c3c0dcb..c641f3c 100644
--- a/src/core/libs/lib-ui.sh
+++ b/src/core/libs/lib-ui.sh
@@ -223,7 +223,7 @@ _cli_ask_option ()
# will print the disks as follows, getting size info from hdparm:
# /dev/sda: 640133 MBytes (640 GB)
# /dev/sdb: 640135 MBytes (640 GB)
-_dia_getavaildisks()
+_getavaildisks()
{
# NOTE: to test as non-root, stick in a 'sudo' before the hdparm call
for i in $(finddisks); do echo -n "$i: "; hdparm -I $i | grep -F '1000*1000' | sed "s/.*1000:[ \t]*\(.*\)/\1/"; echo "\n"; done