From 53dcb4a56ee690df8cc787e0cf1557d1484be13e Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Thu, 20 Jan 2011 02:14:14 -0500 Subject: [PATCH] vol: nt_DriveToDev must return a value Change-Id: I27cf468e9d61542f9893367a18c2f7dd6854cdf6 Reviewed-on: http://gerrit.openafs.org/3710 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/vol/ntops.c | 2 ++ 1 file changed, 2 insertions(+) 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