aboutsummaryrefslogtreecommitdiffstats
path: root/plpftp
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2001-03-06 17:13:01 +0000
committerFritz Elfert <felfert@to.com>2001-03-06 17:13:01 +0000
commitfd8c3ec28d9f721e15ee89de412ad565f94e79d3 (patch)
tree70360d190779249f9bd33150cfa0052d64d81e7a /plpftp
parent276db8fe7efa26e83310ecffddca044751fd4ab3 (diff)
downloadplptools-fd8c3ec28d9f721e15ee89de412ad565f94e79d3.tar.gz
plptools-fd8c3ec28d9f721e15ee89de412ad565f94e79d3.tar.bz2
plptools-fd8c3ec28d9f721e15ee89de412ad565f94e79d3.zip
KPsion: added format stuff.
Diffstat (limited to 'plpftp')
-rw-r--r--plpftp/ftp.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/plpftp/ftp.cc b/plpftp/ftp.cc
index 013a063..8141f2b 100644
--- a/plpftp/ftp.cc
+++ b/plpftp/ftp.cc
@@ -249,7 +249,7 @@ session(rfsv & a, rpcs & r, int xargc, char **xargv)
for (i = 0; i < 26; i++) {
PlpDrive drive;
- if ((devbits & 1) && a.devinfo(i, drive) == rfsv::E_PSI_GEN_NONE) {
+ if ((devbits & 1) && a.devinfo(i + 'A', drive) == rfsv::E_PSI_GEN_NONE) {
defDrive[0] = 'A' + i;
break;
}
@@ -419,7 +419,7 @@ session(rfsv & a, rpcs & r, int xargc, char **xargv)
PlpDrive drive;
if ((devbits & 1) != 0) {
- if (a.devinfo(i, drive) == rfsv::E_PSI_GEN_NONE)
+ if (a.devinfo(i + 'A', drive) == rfsv::E_PSI_GEN_NONE)
cout << (char) ('A' + i) << " " <<
hex << setw(4) << setfill('0') << drive.getMediaType() << " " <<
setw(12) << setfill(' ') << setiosflags(ios::left) <<