mirror of
https://git.openafs.org/openafs.git
synced 2025-01-21 00:10:15 +00:00
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:
parent
1ad22ed7e1
commit
53dcb4a56e
@ -376,5 +376,7 @@ nt_DriveToDev(char *drive)
|
||||
dev = toupper(*drive) - 'A';
|
||||
if ((dev < 2) || (dev > 25))
|
||||
return -1;
|
||||
|
||||
return dev;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user