diff --git a/src/vol/ntops.c b/src/vol/ntops.c index 589a61da11..47ae1d711f 100644 --- a/src/vol/ntops.c +++ b/src/vol/ntops.c @@ -376,5 +376,7 @@ nt_DriveToDev(char *drive) dev = toupper(*drive) - 'A'; if ((dev < 2) || (dev > 25)) return -1; + + return dev; } #endif