summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/devices.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/devices.cc')
-rw-r--r--winsup/cygwin/devices.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/devices.cc b/winsup/cygwin/devices.cc
index a015a8fd2..c91922708 100644
--- a/winsup/cygwin/devices.cc
+++ b/winsup/cygwin/devices.cc
@@ -14884,7 +14884,7 @@ device::parsedisk (int drive, int part)
else
{
base = DEV_SD1_MAJOR;
- drive -= 'q' - 'q';
+ drive -= 'q' - 'a';
}
parse (base, part + (drive * 16));
}