diff options
author | Steve French <sfrench@us.ibm.com> | 2006-10-02 01:59:18 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-10-02 01:59:18 -0400 |
commit | 1a70d6529ad9f5978af846440f8a809784d6e813 (patch) | |
tree | 99635cfa8d53760fd3e4bd4d7bb2a4cb3d0d6db1 /fs/cifs/cifssmb.c | |
parent | 947a50679570ef7a66e3e3107e95943a1cb14d08 (diff) |
[CIFS] Fix compiler warning with previous patch
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifssmb.c')
-rw-r--r-- | fs/cifs/cifssmb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index 005fb315477c..79a01d35a783 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c | |||
@@ -477,7 +477,7 @@ CIFSSMBNegotiate(unsigned int xid, struct cifsSesInfo *ses) | |||
477 | server->capabilities = CAP_MPX_MODE; | 477 | server->capabilities = CAP_MPX_MODE; |
478 | } | 478 | } |
479 | tmp = (__s16)le16_to_cpu(rsp->ServerTimeZone); | 479 | tmp = (__s16)le16_to_cpu(rsp->ServerTimeZone); |
480 | if (tmp == 0xffff) { | 480 | if (tmp == -1) { |
481 | /* OS/2 often does not set timezone therefore | 481 | /* OS/2 often does not set timezone therefore |
482 | * we must use server time to calc time zone. | 482 | * we must use server time to calc time zone. |
483 | * Could deviate slightly from the right zone. | 483 | * Could deviate slightly from the right zone. |