vol: nt_DriveToDev must return a value

Change-Id: I27cf468e9d61542f9893367a18c2f7dd6854cdf6
Reviewed-on: http://gerrit.openafs.org/3710
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Jeffrey Altman 2011-01-20 02:14:14 -05:00 committed by Derrick Brashear
parent 1ad22ed7e1
commit 53dcb4a56e

View File

@ -376,5 +376,7 @@ nt_DriveToDev(char *drive)
dev = toupper(*drive) - 'A';
if ((dev < 2) || (dev > 25))
return -1;
return dev;
}
#endif