VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Driver/Ntdriver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Driver/Ntdriver.c')
-rw-r--r--src/Driver/Ntdriver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Driver/Ntdriver.c b/src/Driver/Ntdriver.c
index 1c2ec97f..9889b437 100644
--- a/src/Driver/Ntdriver.c
+++ b/src/Driver/Ntdriver.c
@@ -1966,8 +1966,8 @@ VOID VolumeThreadProc (PVOID Context)
void TCGetNTNameFromNumber (LPWSTR ntname, int cbNtName, int nDriveNo)
{
- WCHAR tmp[3] =
- {0, ':', 0};
+ WCHAR tmp[2] =
+ {0, 0};
int j = nDriveNo + (WCHAR) 'A';
tmp[0] = (short) j;