diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-17 01:53:24 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-17 01:53:24 -0600 |
commit | ab30808a02417f4cb2320c9770acc223e72721fa (patch) | |
tree | a173c2d559eb1d439253cb7718ac5e888ac23eb4 /lilo-config/common | |
parent | d2811f2c1ad7edbc344e4e4973704b8924e8eba0 (diff) | |
download | tdeadmin-ab30808a02417f4cb2320c9770acc223e72721fa.tar.gz tdeadmin-ab30808a02417f4cb2320c9770acc223e72721fa.zip |
Fix unintended rename of disklist
Diffstat (limited to 'lilo-config/common')
-rw-r--r-- | lilo-config/common/Disks.cc | 4 | ||||
-rw-r--r-- | lilo-config/common/Disks.h | 4 | ||||
-rw-r--r-- | lilo-config/common/lilo.cc | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/lilo-config/common/Disks.cc b/lilo-config/common/Disks.cc index eba20b3..b4a417d 100644 --- a/lilo-config/common/Disks.cc +++ b/lilo-config/common/Disks.cc @@ -34,7 +34,7 @@ #include <stdlib.h> #include <string.h> -StringList ptable::distdelist() +StringList ptable::disklist() { /* The basics behind scanning for a disk are simple: If it can be * * opened, it exists. * @@ -121,7 +121,7 @@ StringList ptable::distdelist() StringList ptable::partlist() { StringList s; - StringList d=distdelist(); + StringList d=disklist(); for(StringList::const_iterator it=d.begin(); it!=d.end(); it++) { for(int i=1; i<32; i++) { String drive; diff --git a/lilo-config/common/Disks.h b/lilo-config/common/Disks.h index 1ea937c..8965694 100644 --- a/lilo-config/common/Disks.h +++ b/lilo-config/common/Disks.h @@ -33,9 +33,9 @@ #include <map> class ptable { public: - ptable(StringList const &disks=distdelist()); + ptable(StringList const &disks=disklist()); ptable(String const &disk); - static StringList distdelist(); + static StringList disklist(); static StringList partlist(); static String mountpoint(String const &device, bool fstab_fallback=false); static String device(String const &mountpt, bool fstab_fallback=false); diff --git a/lilo-config/common/lilo.cc b/lilo-config/common/lilo.cc index bd9683f..4171170 100644 --- a/lilo-config/common/lilo.cc +++ b/lilo-config/common/lilo.cc @@ -179,7 +179,7 @@ String const liloconf::liloOut() bool liloconf::probe() { ptable p; - StringList drives=p.distdelist(); + StringList drives=p.disklist(); String const root=p.device("/", true); checked=false; defaults.clear(); |